Update of /cvsroot/sblim/sfcb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9087
Modified Files:
httpAdapter.c
Log Message:
Fixed [ 1185276 ] 2nd sfcbd fails to terminate and hangs shutting down
httpAdapter now issuing kill(sfcbPid,3);
Index: httpAdapter.c
===================================================================
RCS file: /cvsroot/sblim/sfcb/httpAdapter.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- httpAdapter.c 13 Apr 2005 15:15:41 -0000 1.5
+++ httpAdapter.c 25 Apr 2005 23:42:28 -0000 1.6
@@ -882,8 +882,8 @@
if (bind(listenFd, (struct sockaddr *) &sin, sin_len) ||
listen(listenFd, 0)) {
printf("--- Cannot listen on port %ld\n", port);
- kill(sfcbPid,2);
- exit(3);
+ kill(sfcbPid,3);
+// exit(3);
}
if (!debug) {
|