diff options
| author | Alexander Barton <alex@barton.de> | 2002-06-10 21:09:39 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-06-10 21:09:39 +0000 |
| commit | e6d1bcdf82875c5ad1780d7b5903eb6daa43f32a (patch) | |
| tree | ba80ceb2a19e05fbfd3d79bab97fa035d3448ee8 | |
| parent | c3d9c40a74962af1fab908a19f96c84c1f4c95c5 (diff) | |
| download | ngircd-e6d1bcdf82875c5ad1780d7b5903eb6daa43f32a.tar.gz ngircd-e6d1bcdf82875c5ad1780d7b5903eb6daa43f32a.zip | |
- bessere Fehlermeldung, wenn malloc() fehl schlaegt.
| -rw-r--r-- | src/ngircd/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c index f2383221..c38c386b 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -9,7 +9,7 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: client.c,v 1.58 2002/06/02 23:16:42 alex Exp $ + * $Id: client.c,v 1.59 2002/06/10 21:09:39 alex Exp $ * * client.c: Management aller Clients * @@ -973,7 +973,7 @@ New_Client_Struct( VOID ) c = malloc( sizeof( CLIENT )); if( ! c ) { - Log( LOG_EMERG, "Can't allocate memory!" ); + Log( LOG_EMERG, "Can't allocate memory! [New_Client_Struct]" ); return NULL; } |