]> arthur.barton.de Git - ngircd.git/commitdiff
Fix fmt string: int, not long
authorFlorian Westphal <fw@strlen.de>
Fri, 7 Dec 2007 21:19:01 +0000 (21:19 +0000)
committerFlorian Westphal <fw@strlen.de>
Fri, 7 Dec 2007 21:19:01 +0000 (21:19 +0000)
src/ngircd/conn.c

index 7a131f5ec80b0dd2bdc95526e20daf21000677d8..46a6ec298692ad156c6323507f6822b0a5183078 100644 (file)
@@ -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
        }