CS
authorMichael Wallner <mike@php.net>
Mon, 23 Mar 2015 07:22:31 +0000 (08:22 +0100)
committerMichael Wallner <mike@php.net>
Mon, 23 Mar 2015 07:22:31 +0000 (08:22 +0100)
php_http_url.c

index 14ad6f7..0640aa7 100644 (file)
@@ -1271,7 +1271,7 @@ static const char *parse_query(struct parse_state *state)
        tmp = ++state->ptr;
        state->url.query = &state->buffer[state->offset];
 
-       while(state->ptr < state->end) {
+       while (state->ptr < state->end) {
                switch (*state->ptr) {
                case '#':
                        goto done;