From 35b011414f2a9a6e5277707a6c5a804bde41ae74 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 12 Nov 2003 19:58:19 +0000 Subject: don't set proxyhost to NULL CVS patchset: 5727 CVS date: 2003/11/12 19:58:19 --- src/input/input_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/input_http.c b/src/input/input_http.c index 74e5b3ab5..1887a8f35 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -19,7 +19,7 @@ * * input plugin for http network streams * - * $Id: input_http.c,v 1.68 2003/11/12 19:54:56 f1rmb Exp $ + * $Id: input_http.c,v 1.69 2003/11/12 19:58:19 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -131,7 +131,7 @@ static void proxy_host_change_cb(void *data, xine_cfg_entry_t *cfg) { this->proxyhost = cfg->str_value; - if(this->proxyhost && (!strlen(this->proxyhost))) { + if(this->proxyhost && (!strlen(this->proxyhost)) && this->proxyhost_env) { this->proxyhost = this->proxyhost_env; this->proxyport = this->proxyport_env; } -- cgit v1.2.3