From: Ted Lemon Date: Sat, 29 Mar 1997 01:26:08 +0000 (+0000) Subject: Return the result of sends and receives X-Git-Tag: DHCP-970328~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af361f2af522c2fcb3f136e644c57bb44636cf2c;p=thirdparty%2Fdhcp.git Return the result of sends and receives --- diff --git a/common/socket.c b/common/socket.c index 9a39f1aa1..e2a211a8f 100644 --- a/common/socket.c +++ b/common/socket.c @@ -50,7 +50,7 @@ #ifndef lint static char copyright[] = -"$Id: socket.c,v 1.22 1997/03/29 00:06:07 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: socket.c,v 1.23 1997/03/29 01:26:08 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -207,6 +207,7 @@ size_t send_packet (interface, packet, raw, len, from, to, hto) errno == ECONNREFUSED) && retry++ < 10); #endif + return result; } #endif /* USE_SOCKET_SEND */ @@ -233,6 +234,7 @@ size_t receive_packet (interface, buf, len, from, hfrom) errno == ECONNREFUSED) && retry++ < 10); #endif + return result; } #endif /* USE_SOCKET_RECEIVE */