X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Flog.c;h=9af2a447ea72a5b5d3f3185f271dfd10b420a654;hp=6fa7a4a7fbd05abaa8c026a051f7a5000e5cd489;hb=d16ce5a735ffc00768f54b0b52afe8ab2115b057;hpb=a40a026d15dade55b0017979b180998b5aa6d54a diff --git a/src/ngircd/log.c b/src/ngircd/log.c index 6fa7a4a7..9af2a447 100644 --- a/src/ngircd/log.c +++ b/src/ngircd/log.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: log.c,v 1.48 2004/10/20 13:47:32 alex Exp $"; +static char UNUSED id[] = "$Id: log.c,v 1.49 2005/01/20 00:12:23 alex Exp $"; #include "imp.h" #include @@ -63,12 +63,11 @@ Log_Init( VOID ) Log( LOG_NOTICE, "%s started.", NGIRCd_Version( )); /* Informationen uebern den "Operation Mode" */ - strcpy( Init_Txt, "" ); + Init_Txt[0] = '\0'; #ifdef DEBUG if( NGIRCd_Debug ) { - if( Init_Txt[0] ) strcat( Init_Txt, ", " ); - strcat( Init_Txt, "debug-mode" ); + strcpy( Init_Txt, "debug-mode" ); } #endif if( NGIRCd_NoDaemon )