diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ char *addr2string(struct sockaddr *addr, socklen_t len) { if (getnameinfo(addr, len, addr_buf[i], sizeof(addr_buf[i]), NULL, 0, NI_NUMERICHOST)) { debug(DBG_WARN, "getnameinfo failed"); - return NULL; + return return "getnameinfo_failed"; } return addr_buf[i]; } |