aboutsummaryrefslogtreecommitdiffstats
path: root/www/webalizer-2/files/patch-ac
blob: b0c25d3404d56ff7381912c6fb6bfebec7d62995 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- webalizer.c.orig    Wed Sep 27 20:26:30 2000
+++ webalizer.c Thu Sep 28 17:41:01 2000
@@ -61,6 +61,7 @@
 #endif
 
 #ifdef USE_DNS
+#include <netinet/in.h>
 #include <arpa/inet.h>
 
 #ifdef HAVE_DB_185_H
@@ -1798,7 +1799,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;