Change log message for "Can't resolve address"
authorAlexander Barton <alex@barton.de>
Wed, 10 Dec 2014 10:11:42 +0000 (11:11 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 10 Dec 2014 10:11:42 +0000 (11:11 +0100)
src/ngircd/resolve.c

index 0d6a294..3279190 100644 (file)
@@ -217,8 +217,8 @@ ReverseLookup(const ng_ipaddr_t *IpAddr, char *resbuf, size_t reslen)
        assert(reslen >= NG_INET_ADDRSTRLEN);
        ng_ipaddr_tostr_r(IpAddr, tmp_ip_str);
 
-       Log_Subprocess(LOG_WARNING, "%s: Can't resolve address \"%s\": %s",
-                               funcname, tmp_ip_str, errmsg);
+       Log_Subprocess(LOG_WARNING, "Can't resolve address \"%s\": %s [%s].",
+                      tmp_ip_str, errmsg, funcname);
        strlcpy(resbuf, tmp_ip_str, reslen);
        return false;
 }