瀏覽代碼

Remove if(!ri) ... always false.

pavel.pimenov 8 年之前
父節點
當前提交
6a56cc008e
共有 1 個文件被更改,包括 0 次插入4 次删除
  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, '?'))