소스 검색

Fix warning

bel 8 년 전
부모
커밋
8b2a59a657
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -6013,7 +6013,7 @@ interpret_uri(struct mg_connection *conn,    /* in: request (must be valid) */
 				} else {
 					/* non-script files will not have sub-resources */
 					filename[sep_pos] = 0;
-					conn->path_info;
+					conn->path_info = 0;
 					*is_script_resource = 0;
 					*is_found = 0;
 					break;