diff options
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -521,7 +521,7 @@ ssize_t http_handle_request( const int64 client_socket, char *data, size_t recv_ | |||
521 | scrapes by looking for "a*" or "sc" */ | 521 | scrapes by looking for "a*" or "sc" */ |
522 | len = scan_urlencoded_query( &c, data = c, SCAN_PATH ); | 522 | len = scan_urlencoded_query( &c, data = c, SCAN_PATH ); |
523 | 523 | ||
524 | /* If parsing returned an error, leave with not found*/ | 524 | /* If parsing returned an error, leave with not found */ |
525 | if( g_redirecturl && ( len == -2 ) ) HTTPERROR_302; | 525 | if( g_redirecturl && ( len == -2 ) ) HTTPERROR_302; |
526 | if( len <= 0 ) HTTPERROR_404; | 526 | if( len <= 0 ) HTTPERROR_404; |
527 | 527 | ||