aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-03-29 10:18:15 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-03-29 10:18:15 +0000
commitd6a7f190153e75a4905d74ea6de8cc694b2312ce (patch)
tree089e637f0ed0f4191686893d9bd41c960f0d282e
parentFix printf format specifier mismatch when REGEX_DEBUG (diff)
downloadw3m-d6a7f190153e75a4905d74ea6de8cc694b2312ce.tar.gz
w3m-d6a7f190153e75a4905d74ea6de8cc694b2312ce.zip
Fix variable is reassigned a value before the old one has been used
Diffstat (limited to '')
-rw-r--r--url.c2
1 files changed, 1 insertions, 1 deletions
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) {