浏览代码

Fix bug in implementation of issue #65

bel 10 年之前
父节点
当前提交
66f424552d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -2931,7 +2931,7 @@ static void interpret_uri(struct mg_connection *conn,    /* in: request */
                    requests, should replace/delete the script file.
                    Requests that read or write from/to a resource, like GET and POST requests,
                    should call the script and return the generated response. */
-                *is_script_ressource = !is_put_or_delete_request;
+                *is_script_ressource = !*is_put_or_delete_request;
         }
         return;
     }