freebsd-ports/www/webalizer/files/output.patch
Dirk Meyer 8f842d867f - add geolizer patches
(merge from www/geolizer)
Suggested by: Steve Clement, David Raison
Reviewed by:	Andrey Chernov
2005-09-04 15:46:50 +00:00

12 lines
487 B
Diff

--- output.c.orig Fri Sep 29 07:51:42 2000
+++ output.c Sat Oct 14 17:18:55 2000
@@ -1932,7 +1939,7 @@
{
domain = hptr->string+strlen(hptr->string)-1;
while ( (*domain!='.')&&(domain!=hptr->string)) domain--;
- if ((domain==hptr->string)||(isdigit((int)*++domain)))
+ if ((domain==hptr->string)||(isdigit((unsigned char)*++domain)))
{
ctry[0].count+=hptr->count;
ctry[0].files+=hptr->files;