DEBUG_printf("9cups_auth_find: After quoted: \"%s\"", www_authenticate);
}
- www_authenticate ++;
+ if (*www_authenticate)
+ www_authenticate ++;
}
DEBUG_printf("9cups_auth_find: After skip: \"%s\"", www_authenticate);
scheme ++;
}
- scheme ++;
+ if (*scheme)
+ scheme ++;
}
// If this wasn't a parameter, we are at the end of this scheme's
www_authenticate ++;
}
while (*www_authenticate && *www_authenticate != '\"');
+
+ if (!*www_authenticate)
+ break;
}
}