commit 63c36773e4240e3d1b768d6a117e5178dbffc7df from: Alexander Barton date: Sun Jun 09 13:19:08 2002 UTC - Bessere Logging, wenn malloc() fehl schlaegt. commit - e2b827d8b1ef1d4cc62e8148df02b0781b913d54 commit + 63c36773e4240e3d1b768d6a117e5178dbffc7df blob - 9fefbec359bddd2e5318ce36100811a29d0bffe9 blob + 955ef4d9536f38903e83c04cac6ef1863f700f79 --- src/ngircd/resolve.c +++ src/ngircd/resolve.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: resolve.c,v 1.2 2002/05/30 16:52:21 alex Exp $ + * $Id: resolve.c,v 1.3 2002/06/09 13:19:08 alex Exp $ * * resolve.c: asyncroner Resolver */ @@ -67,7 +67,7 @@ Resolve_Addr( struct sockaddr_in *Addr ) s = malloc( sizeof( RES_STAT )); if( ! s ) { - Log( LOG_EMERG, "Resolver: Can't allocate memory!" ); + Log( LOG_EMERG, "Resolver: Can't allocate memory! [Resolve_Addr]" ); return NULL; } @@ -122,7 +122,7 @@ Resolve_Name( CHAR *Host ) s = malloc( sizeof( RES_STAT )); if( ! s ) { - Log( LOG_EMERG, "Resolver: Can't allocate memory!" ); + Log( LOG_EMERG, "Resolver: Can't allocate memory! [Resolve_Name]" ); return NULL; }