[netperf-dev] netperf2 commit notice r431 - trunk/src
raj at netperf.org
raj at netperf.org
Tue Jul 12 20:22:38 PDT 2011
Author: raj
Date: 2011-07-12 20:22:38 -0700 (Tue, 12 Jul 2011)
New Revision: 431
Modified:
trunk/src/netserver.c
Log:
actually close the socket on which bind or listen failed before moving on to the next res entry
Modified: trunk/src/netserver.c
===================================================================
--- trunk/src/netserver.c 2011-07-13 03:20:52 UTC (rev 430)
+++ trunk/src/netserver.c 2011-07-13 03:22:38 UTC (rev 431)
@@ -481,6 +481,7 @@
errno);
fflush(stderr);
}
+ close(temp_socket);
}
local_res_temp = local_res_temp->ai_next;
}
More information about the netperf-dev
mailing list