aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-11-20 09:10:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-11-20 09:10:18 +0000
commitea5f3d2798ee1a670c4de19c7e5456c4f0ae98c0 (patch)
tree1fe7c9512ccef6e9cf841a3f76d1af25bd9d1ccf /www/webalizer/files
parent9ce74c49b56c15a3ae83bc07fcbfd3b24f900bb5 (diff)
downloadports-ea5f3d2798ee1a670c4de19c7e5456c4f0ae98c0.tar.gz
ports-ea5f3d2798ee1a670c4de19c7e5456c4f0ae98c0.zip
Notes
Diffstat (limited to 'www/webalizer/files')
-rw-r--r--www/webalizer/files/patch-agent-bug29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/webalizer/files/patch-agent-bug b/www/webalizer/files/patch-agent-bug
new file mode 100644
index 000000000000..5a5354581a30
--- /dev/null
+++ b/www/webalizer/files/patch-agent-bug
@@ -0,0 +1,29 @@
+--- webalizer.c.orig Sun Nov 20 09:52:31 2005
++++ webalizer.c Sun Nov 20 09:54:10 2005
+@@ -805,7 +805,7 @@
+ if (mangle_agent<2)
+ {
+ /* Level 1 - try to get OS */
+- cp1=strstr(str,")");
++ cp1=strstr(cp1,")");
+ if (cp1!=NULL)
+ {
+ *cp2++=' ';
+@@ -840,7 +840,7 @@
+ *cp2++=*cp1++;
+ if (mangle_agent<2)
+ {
+- cp1=strstr(str,"(");
++ cp1=strstr(cp1,"(");
+ if (cp1!=NULL)
+ {
+ cp1++;
+@@ -873,7 +873,7 @@
+ if (mangle_agent<2)
+ {
+ /* Level 1 - Try to get OS */
+- cp1=strstr(str,"(");
++ cp1=strstr(cp1,"(");
+ if (cp1!=NULL)
+ {
+ cp1++;