File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -761,7 +761,7 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */
761761 _cups_strcasecmp (hostname , ServerName ) &&
762762 _cups_strcasecmp (hostname , "localhost" ) &&
763763 !cupsArrayFind (ServerAlias , hostname ) &&
764- !isdigit (hostname [0 ]) && hostname [0 ] != '[' )
764+ !isdigit (hostname [0 ] & 255 ) && hostname [0 ] != '[' )
765765 {
766766 /*
767767 * Nope, we don't do proxies...
@@ -2683,18 +2683,18 @@ check_if_modified(
26832683
26842684 while (* ptr != '\0' )
26852685 {
2686- while (isspace (* ptr ) || * ptr == ';' )
2686+ while (isspace (* ptr & 255 ) || * ptr == ';' )
26872687 ptr ++ ;
26882688
26892689 if (_cups_strncasecmp (ptr , "length=" , 7 ) == 0 )
26902690 {
26912691 ptr += 7 ;
26922692 size = strtoll (ptr , NULL , 10 );
26932693
2694- while (isdigit (* ptr ))
2694+ while (isdigit (* ptr & 255 ))
26952695 ptr ++ ;
26962696 }
2697- else if (isalpha (* ptr ))
2697+ else if (isalpha (* ptr & 255 ))
26982698 {
26992699 date = httpGetDateTime (ptr );
27002700 while (* ptr != '\0' && * ptr != ';' )
You can’t perform that action at this time.
0 commit comments