summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.c
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-14 01:12:44 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-14 01:12:44 +0000
commit32d1e1014ff45f4955ee0315b10b81eea117a8c2 (patch)
tree5b67a10291a7b1d79c8fe06a95289940afe67ea5 /libmpdemux/network.c
parenta2cb625f1983e7fc4ffcea533a9dd911f6084367 (diff)
downloadmpv-32d1e1014ff45f4955ee0315b10b81eea117a8c2.tar.bz2
mpv-32d1e1014ff45f4955ee0315b10b81eea117a8c2.tar.xz
Changed the proxy protocol to http_proxy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4146 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/network.c')
-rw-r--r--libmpdemux/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index 62dffee360..ecd22acd92 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -184,7 +184,7 @@ http_send_request( URL_t *url ) {
http_hdr = http_new_header();
- if( !strcasecmp(url->protocol, "proxy") ) {
+ if( !strcasecmp(url->protocol, "http_proxy") ) {
proxy = 1;
server_url = url_new( (url->file)+1 );
http_set_uri( http_hdr, server_url->url );
@@ -325,7 +325,7 @@ extension=NULL;
}
// HTTP based protocol
- if( !strcasecmp(url->protocol, "http") || !strcasecmp(url->protocol, "proxy") ) {
+ if( !strcasecmp(url->protocol, "http") || !strcasecmp(url->protocol, "http_proxy") ) {
//if( url->port==0 ) url->port = 80;
fd = http_send_request( url );