]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-server.c
Fixed a wrong assert() which could cause the daemon to exit spuriously
[ngircd-alex.git] / src / ngircd / irc-server.c
index 7b7340f238b201298f1dc6ba69011f5fc6acbe2c..59a2ec80551fce51e9db19baa605d4c54038505e 100644 (file)
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-server.c,v 1.33 2003/07/09 18:45:56 alex Exp $";
+static char UNUSED id[] = "$Id: irc-server.c,v 1.35 2004/01/17 03:17:49 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 
 #include "resolve.h"
 #include "conn.h"
@@ -117,7 +118,7 @@ IRC_SERVER( CLIENT *Client, REQUEST *Req )
                Client_SetType( Client, CLIENT_SERVER );
                Conf_SetServer( i, con );
 
-#ifdef USE_ZLIB
+#ifdef ZLIB
                /* Kompression initialisieren, wenn erforderlich */
                if( strchr( Client_Flags( Client ), 'Z' ))
                {