X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fclient.c;h=faf95a6112a0d25ac8cbe8c152aa7514f97bfcad;hb=cac9f279fa852c0ececfbf0f7dc09a6f64eff058;hp=7cb81a7825dd5fd4909f047e86f6914b05ae1920;hpb=1aeaf64c6662f3bc41cfd143fae58eee32f606cf;p=ngircd-alex.git diff --git a/src/ngircd/client.c b/src/ngircd/client.c index 7cb81a78..faf95a61 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -17,7 +17,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: client.c,v 1.81 2005/05/17 23:18:54 alex Exp $"; +static char UNUSED id[] = "$Id: client.c,v 1.82 2005/06/04 12:32:09 fw Exp $"; #include "imp.h" #include @@ -214,7 +214,11 @@ Client_Destroy( CLIENT *Client, char *LogMsg, char *FwdMsg, bool SendQuit ) if( ! txt ) txt = "Reason unknown."; /* Netz-Split-Nachricht vorbereiten (noch nicht optimal) */ - if( Client->type == CLIENT_SERVER ) snprintf( msg, sizeof( msg ), "%s: lost server %s", This_Server->id, Client->id ); + if( Client->type == CLIENT_SERVER ) { + strlcpy(msg, This_Server->id, sizeof (msg)); + strlcat(msg, " ", sizeof (msg)); + strlcat(msg, Client->id, sizeof (msg)); + } last = NULL; c = My_Clients;