diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-03 14:26:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-03 14:26:05 +0000 |
commit | 139456d3cb1a8c7be9e48d765eda23b15d8c8bad (patch) | |
tree | beda77a9181d9e274d066c6c466423325b8d8f8a /apps/netutils | |
parent | f5d629b65b9588ddae1333f06aa392083c284949 (diff) | |
download | nuttx-139456d3cb1a8c7be9e48d765eda23b15d8c8bad.tar.gz nuttx-139456d3cb1a8c7be9e48d765eda23b15d8c8bad.tar.bz2 nuttx-139456d3cb1a8c7be9e48d765eda23b15d8c8bad.zip |
New LIS331DL driver and VSN updates from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3457 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils')
-rw-r--r-- | apps/netutils/dhcpc/dhcpc.c | 4 | ||||
-rwxr-xr-x | apps/netutils/thttpd/thttpd_cgi.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/netutils/dhcpc/dhcpc.c b/apps/netutils/dhcpc/dhcpc.c index dc80988bb..b5551c6f1 100644 --- a/apps/netutils/dhcpc/dhcpc.c +++ b/apps/netutils/dhcpc/dhcpc.c @@ -492,7 +492,7 @@ int dhcpc_request(void *handle, struct dhcpc_state *presult) * Then loop and send the DISCOVER command again. */ - else if (*get_errno_ptr() != EAGAIN) + else if (errno != EAGAIN) { /* An error other than a timeout was received -- error out */ @@ -570,7 +570,7 @@ int dhcpc_request(void *handle, struct dhcpc_state *presult) * 3 times). */ - else if (*get_errno_ptr() != EAGAIN) + else if (errno != EAGAIN) { /* An error other than a timeout was received */ diff --git a/apps/netutils/thttpd/thttpd_cgi.c b/apps/netutils/thttpd/thttpd_cgi.c index ee126795a..3d2eb57b8 100755 --- a/apps/netutils/thttpd/thttpd_cgi.c +++ b/apps/netutils/thttpd/thttpd_cgi.c @@ -152,7 +152,7 @@ static inline void cgi_semtake(void) * awakened by a signal. */ - ASSERT(*get_errno_ptr() == EINTR); + ASSERT(errno == EINTR); } } |