|
From: | address@hidden |
Subject: | Re: [lwip-devel] byte order, packing, optimizations |
Date: | Sun, 14 Feb 2010 13:52:55 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 |
Stéphane Lesage wrote:
> About set_errno? What? that the user can provide it or LwIP will provide a default implementation with a global variable that is not thread-safe. And that LwIP can also provide only error code definitions.
Oh, yeah, good idea.
Don't beat me, but I fixed it the other way round: don't memcpy and use pointers instead. Still, thanks for pointing this out.Here is another patch to remove struct packing for dns_query and dns_answer in dns.c, which is not needed since we memcpy them.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |