summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 462b8dd..8a0f069 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -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