diff options
Diffstat (limited to 'src/plugins/html_extractor.c')
-rw-r--r-- | src/plugins/html_extractor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/html_extractor.c b/src/plugins/html_extractor.c index 5bd94b0..243cf16 100644 --- a/src/plugins/html_extractor.c +++ b/src/plugins/html_extractor.c | |||
@@ -100,7 +100,7 @@ skipWhitespace (size_t * pos, const char *data, size_t size) | |||
100 | { | 100 | { |
101 | size_t p = *pos; | 101 | size_t p = *pos; |
102 | 102 | ||
103 | while ((p < size) && (isspace (data[p]))) | 103 | while ((p < size) && (isspace ( (unsigned char) data[p]))) |
104 | { | 104 | { |
105 | if (data[p] == '\0') | 105 | if (data[p] == '\0') |
106 | return 0; | 106 | return 0; |
@@ -115,7 +115,7 @@ skipLetters (size_t * pos, const char *data, size_t size) | |||
115 | { | 115 | { |
116 | size_t p = *pos; | 116 | size_t p = *pos; |
117 | 117 | ||
118 | while ((p < size) && (isalpha (data[p]))) | 118 | while ((p < size) && (isalpha ( (unsigned char) data[p]))) |
119 | { | 119 | { |
120 | if (data[p] == '\0') | 120 | if (data[p] == '\0') |
121 | return 0; | 121 | return 0; |
@@ -168,7 +168,7 @@ findEntry (const char *key, | |||
168 | } | 168 | } |
169 | else | 169 | else |
170 | { | 170 | { |
171 | while ((start < end) && (!isspace (*start))) | 171 | while ((start < end) && (!isspace ( (unsigned char) *start))) |
172 | start++; | 172 | start++; |
173 | } | 173 | } |
174 | *mend = start; | 174 | *mend = start; |