summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-12 19:58:19 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-12 19:58:19 +0000
commit35b011414f2a9a6e5277707a6c5a804bde41ae74 (patch)
tree4b1b201c1acb0c600be4afefaa518794156195c9
parent1f4bc1e34f9eeb333219d44247f8760f26420118 (diff)
downloadxine-lib-35b011414f2a9a6e5277707a6c5a804bde41ae74.tar.gz
xine-lib-35b011414f2a9a6e5277707a6c5a804bde41ae74.tar.bz2
don't set proxyhost to NULL
CVS patchset: 5727 CVS date: 2003/11/12 19:58:19
-rw-r--r--src/input/input_http.c4
1 files 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;
}