diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-12-13 11:52:56 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-12-13 11:52:56 +0000 |
commit | 54b27d26aaa2cb780cb60feca46d524c75ee0d4c (patch) | |
tree | e86b4f7ee5348e8ef9c19fc1ab16f2c64000bcc2 | |
parent | 6e8e94faf64728ff0124b0ccbe67071264153ec6 (diff) | |
download | xine-lib-54b27d26aaa2cb780cb60feca46d524c75ee0d4c.tar.gz xine-lib-54b27d26aaa2cb780cb60feca46d524c75ee0d4c.tar.bz2 |
fix strlen
CVS patchset: 5903
CVS date: 2003/12/13 11:52:56
-rw-r--r-- | src/input/input_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c index 93e47aa29..2c34650f7 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.78 2003/12/13 11:35:07 valtri Exp $ + * $Id: input_http.c,v 1.79 2003/12/13 11:52:56 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -898,7 +898,7 @@ static void *init_class (xine_t *xine, void *data) { if((proxy_env = getenv("http_proxy")) && (strlen(proxy_env))) { int proxy_port = DEFAULT_HTTP_PORT; - char *http_proxy = xine_xmalloc(strlen(proxy_env + 1)); + char *http_proxy = xine_xmalloc(strlen(proxy_env) + 1); char *p; if(!strncmp(proxy_env, "http://", 7)) |