mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-19 03:52:52 +00:00
Change log message for "Can't resolve address"
This commit is contained in:
parent
7e14bd3b58
commit
6250335352
@ -217,8 +217,8 @@ ReverseLookup(const ng_ipaddr_t *IpAddr, char *resbuf, size_t reslen)
|
|||||||
assert(reslen >= NG_INET_ADDRSTRLEN);
|
assert(reslen >= NG_INET_ADDRSTRLEN);
|
||||||
ng_ipaddr_tostr_r(IpAddr, tmp_ip_str);
|
ng_ipaddr_tostr_r(IpAddr, tmp_ip_str);
|
||||||
|
|
||||||
Log_Subprocess(LOG_WARNING, "%s: Can't resolve address \"%s\": %s",
|
Log_Subprocess(LOG_WARNING, "Can't resolve address \"%s\": %s [%s].",
|
||||||
funcname, tmp_ip_str, errmsg);
|
tmp_ip_str, errmsg, funcname);
|
||||||
strlcpy(resbuf, tmp_ip_str, reslen);
|
strlcpy(resbuf, tmp_ip_str, reslen);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user