commit 2fe13f0a452841cc10cf7f29c556f17fff131675 from: Florian Westphal date: Fri Dec 07 21:19:01 2007 UTC Fix fmt string: int, not long commit - 20ce56cc5bdbee652f73499e3b03714ecbb45085 commit + 2fe13f0a452841cc10cf7f29c556f17fff131675 blob - 7a131f5ec80b0dd2bdc95526e20daf21000677d8 blob + 46a6ec298692ad156c6323507f6822b0a5183078 --- src/ngircd/conn.c +++ src/ngircd/conn.c @@ -17,7 +17,7 @@ #include "portab.h" #include "io.h" -static char UNUSED id[] = "$Id: conn.c,v 1.217 2007/11/25 18:42:37 fw Exp $"; +static char UNUSED id[] = "$Id: conn.c,v 1.218 2007/12/07 21:19:01 fw Exp $"; #include "imp.h" #include @@ -1611,10 +1611,10 @@ cb_Read_Resolver_Result( int r_fd, UNUSED short events #ifdef IDENTAUTH ++identptr; if (*identptr) { - Log( LOG_INFO, "IDENT lookup for connection %ld: \"%s\".", i, identptr); - Client_SetUser( c, identptr, true ); + Log(LOG_INFO, "IDENT lookup for connection %d: \"%s\".", i, identptr); + Client_SetUser(c, identptr, true); } else { - Log( LOG_INFO, "IDENT lookup for connection %ld: no result.", i ); + Log(LOG_INFO, "IDENT lookup for connection %d: no result.", i); } #endif }