diff options
| author | Florian Westphal <fw@strlen.de> | 2007-12-07 21:19:01 +0000 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2007-12-07 21:19:01 +0000 |
| commit | 2fe13f0a452841cc10cf7f29c556f17fff131675 (patch) | |
| tree | 82e636a7628b019374de697e76281baeb18e4df2 | |
| parent | 20ce56cc5bdbee652f73499e3b03714ecbb45085 (diff) | |
| download | ngircd-2fe13f0a452841cc10cf7f29c556f17fff131675.tar.gz ngircd-2fe13f0a452841cc10cf7f29c556f17fff131675.zip | |
Fix fmt string: int, not long
| -rw-r--r-- | src/ngircd/conn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 7a131f5e..46a6ec29 100644 --- a/src/ngircd/conn.c +++ b/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 <assert.h> @@ -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 } |