blob: 2944464c08bcd84bb735b779e60fefca78e373f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- net.c 2008-02-04 09:28:51.000000000 +0100
+++ net.c.new 2009-02-08 17:13:31.188241104 +0100
@@ -53,7 +53,7 @@
/* get the server address */
if (inet_pton(AF_INET, chkhost, &(chksock.sin_addr.s_addr)) <= 0) {
if ((host = gethostbyname(chkhost)) == NULL) {
- syslog(LOG_ERR, hstrerror(h_errno));
+ syslog(LOG_ERR, "%s", hstrerror(h_errno));
return 0;
}
|