- portable ctype (http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=34632)
[m6w6/ext-http] / http_message_api.c
index b98db1709e2de2cc0c53df175a3b9b65dfc28ea3..99bc01b30bc0b0a90ddd99989681672afb6e0f49 100644 (file)
@@ -265,7 +265,7 @@ PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char
 
                /* check for following messages */
                if (continue_at && (continue_at < (message + message_length))) {
-                       while (isspace(*continue_at)) ++continue_at;
+                       while (HTTP_IS_CTYPE(space, *continue_at)) ++continue_at;
                        if (continue_at < (message + message_length)) {
                                http_message *next = NULL, *most = NULL;