1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/www/webalizer/files/patch-ac

29 lines
907 B
Plaintext
Raw Normal View History

2000-04-20 01:50:47 +00:00
--- webalizer.c.orig Sun Apr 9 05:18:56 2000
2000-04-21 19:25:44 +00:00
+++ webalizer.c Fri Apr 21 23:11:15 2000
2000-04-18 19:04:36 +00:00
@@ -61,6 +61,7 @@
#endif
#ifdef USE_DNS
+#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef HAVE_DB_185_H
2000-04-20 01:50:47 +00:00
@@ -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 */
2000-04-21 19:25:44 +00:00
@@ -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;