summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/support/logresolve.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2002-03-29 02:08:03 +0000
committerbeck <beck@openbsd.org>2002-03-29 02:08:03 +0000
commit44cdba531db40e5069beac4c7827aecc4660aad9 (patch)
tree1f01b6793ed738e6bce4bce8e9ba92bf096dc80d /usr.sbin/httpd/src/support/logresolve.c
parentprototype pfctl_kill_states() (diff)
downloadwireguard-openbsd-44cdba531db40e5069beac4c7827aecc4660aad9.tar.xz
wireguard-openbsd-44cdba531db40e5069beac4c7827aecc4660aad9.zip
fix half baked abortion of a merge to 1.3.23 and take
tree to apache-1.3.24+mod+ssl2.8.8
Diffstat (limited to 'usr.sbin/httpd/src/support/logresolve.c')
-rw-r--r--usr.sbin/httpd/src/support/logresolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/src/support/logresolve.c b/usr.sbin/httpd/src/support/logresolve.c
index f6c86953500..217f6a5d315 100644
--- a/usr.sbin/httpd/src/support/logresolve.c
+++ b/usr.sbin/httpd/src/support/logresolve.c
@@ -101,7 +101,7 @@ struct nsrec {
* statistics - obvious
*/
-#ifndef h_errno
+#if !defined(h_errno) && !defined(CYGWIN)
extern int h_errno; /* some machines don't have this in their headers */
#endif
@@ -314,7 +314,7 @@ int main (int argc, char *argv[])
if (line[0] == '\0')
continue;
entries++;
- if (!isdigit(line[0])) { /* short cut */
+ if (!isdigit((int)line[0])) { /* short cut */
puts(line);
withname++;
continue;