diff -ur nsca-2.6.original/src/nsca.c nsca-2.6/src/nsca.c --- nsca-2.6.original/src/nsca.c 2006-04-06 22:19:30.000000000 +0100 +++ nsca-2.6/src/nsca.c 2007-01-26 00:09:28.635009879 +0000 @@ -761,10 +761,9 @@ #endif /* REMOVED 04/03/2006 EG - already done in wait_for_connections() */ - /* + /* RESTORED - if this is taken out, then daemon does not work properly in --single mode */ if(mode==SINGLE_PROCESS_DAEMON) register_read_handler(sock,accept_connection,NULL); - */ /* wait for a connection request */ while(1){