]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix misprint.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 May 2014 11:51:21 +0000 (12:51 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 May 2014 11:51:21 +0000 (12:51 +0100)
src/libutil/http.c

index 1ad8cba34cac902f9bca3eb1b9ec35085314f4c3..5c09f47a71e3c6b00e1fc82b79bee0dedb6ba7ae 100644 (file)
@@ -1148,7 +1148,7 @@ rspamd_http_router_finish_handler (struct rspamd_http_connection *conn,
                }
                else {
                        if (entry->rt->default_fs_path == NULL ||
-                                       rspamd_http_router_try_file (entry, msg, TRUE)) {
+                                       !rspamd_http_router_try_file (entry, msg, TRUE)) {
                                err = g_error_new (HTTP_ERROR, 404,
                                                "Not found");
                                if (entry->rt->error_handler != NULL) {