--- 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++;