fix compiler warning

This commit is contained in:
Yang Tse 2010-01-25 04:36:13 +00:00
parent de2cc11a73
commit 4bb80cfd75
4 changed files with 6 additions and 8 deletions

View file

@ -4134,7 +4134,7 @@ header_callback(void *ptr, size_t size, size_t nmemb, void *stream)
while (1) {
char *filename;
while (p < end && !isalpha(*p))
while (*p && (p < end) && !ISALPHA(*p))
p++;
if (p > end-9)
break;