summaryrefslogtreecommitdiff
path: root/www/webalizer/files/patch-ac
blob: 4b7e06e0b9f8b185341298a4d16df5c6a0e4f066 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- 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;