X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fngircd.c;h=1166c7b74881ade1349e508fc1cb578b04c534d8;hb=02a22611be07e39b8267a27ae0f391aa1f81ede9;hp=3b794b4a94df151fdb57a2aa710316df66d962b2;hpb=29bd35bc4fa858f0ed36e39a3d00830859ce22c8;p=ngircd-alex.git diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index 3b794b4a..1166c7b7 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: ngircd.c,v 1.72 2003/02/23 12:04:05 alex Exp $"; +static char UNUSED id[] = "$Id: ngircd.c,v 1.74 2003/03/07 14:50:13 alex Exp $"; #include "imp.h" #include @@ -357,7 +357,7 @@ NGIRCd_Version( VOID ) GLOBAL CHAR * NGIRCd_VersionAddition( VOID ) { - STATIC CHAR txt[64]; + STATIC CHAR txt[200]; strcpy( txt, "" ); @@ -369,6 +369,14 @@ NGIRCd_VersionAddition( VOID ) if( txt[0] ) strcat( txt, "+" ); strcat( txt, "ZLIB" ); #endif +#ifdef USE_TCPWRAP + if( txt[0] ) strcat( txt, "+" ); + strcat( txt, "TCPWRAP" ); +#endif +#ifdef RENDEZVOUS + if( txt[0] ) strcat( txt, "+" ); + strcat( txt, "RENDEZVOUS" ); +#endif #ifdef DEBUG if( txt[0] ) strcat( txt, "+" ); strcat( txt, "DEBUG" ); @@ -385,10 +393,6 @@ NGIRCd_VersionAddition( VOID ) if( txt[0] ) strcat( txt, "+" ); strcat( txt, "IRCPLUS" ); #endif -#ifdef RENDEZVOUS - if( txt[0] ) strcat( txt, "+" ); - strcat( txt, "RENDEZVOUS" ); -#endif if( txt[0] ) strlcat( txt, "-", sizeof( txt )); strlcat( txt, TARGET_CPU, sizeof( txt ));