From 65782a835bd7c994efd5320409117ead9cfbc956 Mon Sep 17 00:00:00 2001 From: sfraser Date: Wed, 27 May 1998 22:55:38 +0000 Subject: [PATCH] Fix warnings --- network/main/mkgeturl.c | 8 ++++---- network/main/prefetch.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/network/main/mkgeturl.c b/network/main/mkgeturl.c index 4561cc3f4eb9..274efdba4a0b 100644 --- a/network/main/mkgeturl.c +++ b/network/main/mkgeturl.c @@ -2745,13 +2745,13 @@ redo_load_switch: /* come here on file/ftp retry */ && !PL_strncasecmp(URL_s->address, "snews:", 6) ) ) - && (this_entry->proxy_conf = - pacf_find_proxies_for_url(window_id, URL_s)) != NULL - && (pacf_status = pacf_get_proxy_addr(window_id, + && ((this_entry->proxy_conf = + pacf_find_proxies_for_url(window_id, URL_s)) != NULL) + && ((pacf_status = pacf_get_proxy_addr(window_id, this_entry->proxy_conf, &this_entry->proxy_addr, &this_entry->socks_host, - &this_entry->socks_port)) + &this_entry->socks_port)) != NULL) && this_entry->proxy_addr ) { diff --git a/network/main/prefetch.c b/network/main/prefetch.c index 060c57e32b02..9375b75630b9 100644 --- a/network/main/prefetch.c +++ b/network/main/prefetch.c @@ -98,10 +98,10 @@ PRE_Fetch(MWContext* context) do { - if (found = LO_getNextTabableElement( + if ((found = LO_getNextTabableElement( context, &tfd, - 1) != 0) + 1)) != 0) { if (tfd.pElement && (tfd.pElement->lo_any.type == LO_TEXT ||