about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 4d778719..09f726ca 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -2249,7 +2249,7 @@ cb_Read_Resolver_Result( int r_fd, UNUSED short events )
 			if (Conf_NoticeAuth) {
 				(void)Conn_WriteStr(i,
 					"NOTICE AUTH :*** Got %sident response",
-					*ptr == NULL ? "" : "invalid ");
+					*ptr ? "invalid " : "");
 			}
 		} else {
 			Log(LOG_INFO, "IDENT lookup for connection %d: no result.", i);