projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5845431
)
Make sure that the http_proxy environment variable starts with http://
author
Philip Gladstone
<philipjsg@users.sourceforge.net>
Wed, 29 May 2002 21:18:06 +0000
(21:18 +0000)
committer
Philip Gladstone
<philipjsg@users.sourceforge.net>
Wed, 29 May 2002 21:18:06 +0000
(21:18 +0000)
If not, then ignore it's value.
Originally committed as revision 628 to svn://svn.ffmpeg.org/ffmpeg/trunk
libav/http.c
patch
|
blob
|
history
diff --git
a/libav/http.c
b/libav/http.c
index
43af02d
..
fb839f6
100644
(file)
--- a/
libav/http.c
+++ b/
libav/http.c
@@
-65,7
+65,7
@@
static int http_open(URLContext *h, const char *uri, int flags)
h->priv_data = s;
proxy_path = getenv("http_proxy");
- use_proxy = (proxy_path != NULL) && !getenv("no_proxy");
+ use_proxy = (proxy_path != NULL) && !getenv("no_proxy")
&& (strncmp(proxy_path, "http://", 7) == 0)
;
/* fill the dest addr */
redo: