summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2004-05-11 00:53:14 +0000
committerAlexander Barton <alex@barton.de>2004-05-11 00:53:14 +0000
commitc23bbe6b6541a141cbd38f65936bbc8a606b0b32 (patch)
tree2ab43f6777dd618dc55ad765aab795f6f3cfbf05
parentd8f47ed1956b9085286d8d49d60140669e2a2f39 (diff)
downloadngircd-c23bbe6b6541a141cbd38f65936bbc8a606b0b32.tar.gz
ngircd-c23bbe6b6541a141cbd38f65936bbc8a606b0b32.zip
Fixed a warning message of the compiler when not using IDENT lookups.
-rw-r--r--src/ngircd/conn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index c1e21fb2..b2ad9a25 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -16,7 +16,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: conn.c,v 1.135 2004/05/11 00:01:11 alex Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.136 2004/05/11 00:53:14 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -1647,7 +1647,9 @@ Read_Resolver_Result( INT r_fd )
 
 	/* If the result string is incomplete, return to main loop and
 	 * wait until we can read in more bytes. */
+#ifdef IDENTAUTH
 try_resolve:
+#endif
 	ptr = strchr( s->buffer, '\n' );
 	if( ! ptr ) return;
 	*ptr = '\0';