1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-28 12:56:18 +00:00

- bessere Fehlermeldung, wenn malloc() fehl schlaegt.

This commit is contained in:
Alexander Barton 2002-06-10 21:09:39 +00:00
parent c3d9c40a74
commit e6d1bcdf82

View File

@ -9,7 +9,7 @@
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * 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 * client.c: Management aller Clients
* *
@ -973,7 +973,7 @@ New_Client_Struct( VOID )
c = malloc( sizeof( CLIENT )); c = malloc( sizeof( CLIENT ));
if( ! c ) if( ! c )
{ {
Log( LOG_EMERG, "Can't allocate memory!" ); Log( LOG_EMERG, "Can't allocate memory! [New_Client_Struct]" );
return NULL; return NULL;
} }