projects
/
nbd.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r37: CRITICAL BUGFIX: after forking, reset child_arraysize to zero to make
[nbd.git]
/
nbd-server.c
diff --git
a/nbd-server.c
b/nbd-server.c
index
b94e2ba
..
f373d0e
100644
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-371,6
+371,7
@@
void connectme(int port)
close(net) ; continue ; }
/* child */
realloc(children,0);
+ child_arraysize=0;
close(sock) ;
#endif // NOFORK
msg2(LOG_INFO,"Starting to serve") ;