Browse Source

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

Remove if(!ri) ... always false.
bel2125 8 năm trước cách đây
mục cha
commit
81e65f46ba
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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, '?'))