ソースを参照

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;
     }