1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/www/webalizer-2/files/patch-ac
2000-04-21 19:25:44 +00:00

29 lines
907 B
Plaintext

--- webalizer.c.orig Sun Apr 9 05:18:56 2000
+++ webalizer.c Fri Apr 21 23:11:15 2000
@@ -61,6 +61,7 @@
#endif
#ifdef USE_DNS
+#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef HAVE_DB_185_H
@@ -480,7 +481,7 @@
else
{
/* Using DNS cache file <filaneme> */
- if (verbose) printf("%s %s\n",msg_dns_usec,dns_cache);
+ if (verbose>1) printf("%s %s\n",msg_dns_usec,dns_cache);
}
}
#endif /* USE_DNS */
@@ -1785,7 +1786,7 @@
if (*cp1=='+') *cp1=' '; /* change + to space */
if (sp_flg && *cp1==' ') { cp1++; continue; } /* compress spaces */
if (*cp1==' ') sp_flg=1; else sp_flg=0; /* (flag spaces here) */
- *cp2++=tolower(*cp1++); /* normal character */
+ *cp2++= *cp1++; /* normal character */
}
}
*cp2=0; cp2=tmpbuf;