summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-03-11 17:23:57 +0000
committerjbj <devnull@localhost>1999-03-11 17:23:57 +0000
commit19caf606ac867c8fbde6c96d7706d4675d52064a (patch)
tree129234d949dddf68e1b0f62d6e1b80c3e825a106
parentf34ebe53f56fc06ebc7c72be55249a58da5c4e3f (diff)
downloadlibrpm-tizen-19caf606ac867c8fbde6c96d7706d4675d52064a.tar.gz
librpm-tizen-19caf606ac867c8fbde6c96d7706d4675d52064a.tar.bz2
librpm-tizen-19caf606ac867c8fbde6c96d7706d4675d52064a.zip
Don't cache proxy info.
CVS patchset: 2878 CVS date: 1999/03/11 17:23:57
-rw-r--r--url.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/url.c b/url.c
index 5b8995278..279008fb5 100644
--- a/url.c
+++ b/url.c
@@ -122,6 +122,10 @@ static void findUrlinfo(urlinfo **uret, int mustAsk)
/* This URL is now cached. */
*uret = u = uCache[i];
+ /* Zap proxy host and port in case they have been reset */
+ FREE(u->proxyp);
+ FREE(u->proxyh);
+
/* Perform one-time FTP initialization */
if (!strcmp(u->service, "ftp")) {
char *proxy;