though it was started in inetd mode.
Possible compatibility problems with earlier versions marked with '*'.
Possible compatibility problems with earlier versions marked with '*'.
+--- 1.4pl2 1998/1/30
+
+Fixed bug in server library regarding inetd mode (-i). This bug
+was introduced by release 1.4.
+
+--- 1.4pl1 1998/1/29
+
Added sort facility in client and backend server interface.
Fixed problem with dependencies in Makefile(s).
Added sort facility in client and backend server interface.
Fixed problem with dependencies in Makefile(s).
* Chas Woodfield, Fretwell Downing Datasystem.
*
* $Log: statserv.c,v $
* Chas Woodfield, Fretwell Downing Datasystem.
*
* $Log: statserv.c,v $
- * Revision 1.45 1998-01-29 13:30:23 adam
+ * Revision 1.46 1998-01-30 15:24:57 adam
+ * Fixed bug in inetd code. The server listened on tcp:@:9999 even
+ * though it was started in inetd mode.
+ *
+ * Revision 1.45 1998/01/29 13:30:23 adam
* Better event handle system for NT/Unix.
*
* Revision 1.44 1997/11/07 13:31:52 adam
* Better event handle system for NT/Unix.
*
* Revision 1.44 1997/11/07 13:31:52 adam
{
logf(LOG_FATAL, "Failed to create association structure");
}
{
logf(LOG_FATAL, "Failed to create association structure");
}
+ chan->next = pListener;
+ pListener = chan;
-
- if ((pListener == NULL) && *control_block.default_listen)
- add_listener(control_block.default_listen, protocol);
-
#ifndef WINDOWS
if (inetd)
inetd_connection(protocol);
#ifndef WINDOWS
if (inetd)
inetd_connection(protocol);
+ if ((pListener == NULL) && *control_block.default_listen)
+ add_listener(control_block.default_listen, protocol);
+
logf(LOG_LOG, "Entering event loop.");
if (pListener == NULL)
logf(LOG_LOG, "Entering event loop.");
if (pListener == NULL)