Fix wrong understanding of wyebres's ret
This commit is contained in:
parent
226c1f0e01
commit
6e89b5631d
|
@ -945,7 +945,8 @@ static gboolean reqcb(WebKitWebPage *page, WebKitURIRequest *req,
|
||||||
char *ruri = wyebreq(EXE, uris);
|
char *ruri = wyebreq(EXE, uris);
|
||||||
g_free(uris);
|
g_free(uris);
|
||||||
|
|
||||||
if (!ruri) return true;
|
if (!ruri) return false; //wyebab failed
|
||||||
|
if (!*ruri) return true;
|
||||||
|
|
||||||
if (g_strcmp0(requri, ruri))
|
if (g_strcmp0(requri, ruri))
|
||||||
webkit_uri_request_set_uri(req, ruri);
|
webkit_uri_request_set_uri(req, ruri);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user