This fixes
conn.c: In function ‘cb_Read_Resolver_Result’:
conn.c:2252: warning: comparison between pointer and integer
if (Conf_NoticeAuth) {
(void)Conn_WriteStr(i,
"NOTICE AUTH :*** Got %sident response",
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);
}
} else {
Log(LOG_INFO, "IDENT lookup for connection %d: no result.", i);