From 6e89b5631db87bb500c263ca04b1190a9aaea350 Mon Sep 17 00:00:00 2001 From: jun7 Date: Mon, 21 May 2018 13:43:33 +0900 Subject: [PATCH] Fix wrong understanding of wyebres's ret --- ephy-uri-tester.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ephy-uri-tester.c b/ephy-uri-tester.c index 6dcf216..75b0d7d 100644 --- a/ephy-uri-tester.c +++ b/ephy-uri-tester.c @@ -945,7 +945,8 @@ static gboolean reqcb(WebKitWebPage *page, WebKitURIRequest *req, char *ruri = wyebreq(EXE, uris); g_free(uris); - if (!ruri) return true; + if (!ruri) return false; //wyebab failed + if (!*ruri) return true; if (g_strcmp0(requri, ruri)) webkit_uri_request_set_uri(req, ruri);