mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-19 03:52:52 +00:00
NoticeAuth: Fix test if IDENT reply has been invalid
This fixes conn.c: In function ‘cb_Read_Resolver_Result’: conn.c:2252: warning: comparison between pointer and integer
This commit is contained in:
parent
695df6532e
commit
e7e47e77a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user