git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added lots of "(void)" casts to standard function calls.
[exim.git]
/
src
/
src
/
routers
/
iplookup.c
diff --git
a/src/src/routers/iplookup.c
b/src/src/routers/iplookup.c
index 72392fd4d6b5940609210e68641e85e148291c73..f4120d91c6ef606f79abe9c70ac0fbb0202b54bd 100644
(file)
--- a/
src/src/routers/iplookup.c
+++ b/
src/src/routers/iplookup.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/routers/iplookup.c,v 1.
2 2005/01/04 10:00
:44 ph10 Exp $ */
+/* $Cambridge: exim/src/src/routers/iplookup.c,v 1.
3 2005/06/27 14:29
:44 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-251,7
+251,7
@@
while ((hostname = string_nextinlist(&listptr, &sep, host_buffer,
if (send(query_socket, query, query_len, 0) < 0)
{
DEBUG(D_route) debug_printf("send to %s failed\n", h->address);
if (send(query_socket, query, query_len, 0) < 0)
{
DEBUG(D_route) debug_printf("send to %s failed\n", h->address);
- close(query_socket);
+
(void)
close(query_socket);
continue;
}
continue;
}
@@
-259,7
+259,7
@@
while ((hostname = string_nextinlist(&listptr, &sep, host_buffer,
next IP address. */
count = ip_recv(query_socket, reply, sizeof(reply) - 1, ob->timeout);
next IP address. */
count = ip_recv(query_socket, reply, sizeof(reply) - 1, ob->timeout);
- close(query_socket);
+
(void)
close(query_socket);
if (count <= 0)
{
DEBUG(D_route) debug_printf("%s from %s\n", (errno == ETIMEDOUT)?
if (count <= 0)
{
DEBUG(D_route) debug_printf("%s from %s\n", (errno == ETIMEDOUT)?