From d6a7f190153e75a4905d74ea6de8cc694b2312ce Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Tue, 29 Mar 2016 19:18:15 +0900 Subject: Fix variable is reassigned a value before the old one has been used --- url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'url.c') diff --git a/url.c b/url.c index 9eb2f09..1a49cfa 100644 --- a/url.c +++ b/url.c @@ -1337,7 +1337,7 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer) } no_referer = NoSendReferer; no_referer_ptr = query_SCONF_NO_REFERER_FROM(current); - no_referer = NoSendReferer || (no_referer_ptr && *no_referer_ptr); + no_referer = no_referer || (no_referer_ptr && *no_referer_ptr); no_referer_ptr = query_SCONF_NO_REFERER_TO(target); no_referer = no_referer || (no_referer_ptr && *no_referer_ptr); if (!no_referer) { -- cgit v1.2.3