Explorar o código

Merge pull request #416 from pavel-pimenov/fix-547

Remove if(!ri) ... always false.
bel2125 %!s(int64=8) %!d(string=hai) anos
pai
achega
81e65f46ba
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      src/civetweb.c

+ 0 - 4
src/civetweb.c

@@ -10968,10 +10968,6 @@ handle_request(struct mg_connection *conn)
 
 	path[0] = 0;
 
-	if (!ri) {
-		return;
-	}
-
 	/* 1. get the request url */
 	/* 1.1. split into url and query string */
 	if ((conn->request_info.query_string = strchr(ri->request_uri, '?'))