Procházet zdrojové kódy

Fix bug in implementation of issue #65

bel před 10 roky
rodič
revize
66f424552d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
     }