From 139456d3cb1a8c7be9e48d765eda23b15d8c8bad Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 3 Apr 2011 14:26:05 +0000 Subject: 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 --- apps/netutils/dhcpc/dhcpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/netutils/dhcpc/dhcpc.c') 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 */ -- cgit v1.2.3