]> git.sesse.net Git - vlc/commitdiff
* modules/access/http.c:
authorSam Hocevar <sam@videolan.org>
Fri, 15 Oct 2004 08:32:03 +0000 (08:32 +0000)
committerSam Hocevar <sam@videolan.org>
Fri, 15 Oct 2004 08:32:03 +0000 (08:32 +0000)
    + Fixed erroneous extra "/" in URLs sent to a proxy.

modules/access/http.c

index fa37fb47f4832854c527c48f34e4412c745d518f..cd481a78d6ae2e9a2c808c588167d797027851c3 100644 (file)
@@ -632,7 +632,7 @@ static int Connect( access_t *p_access, int64_t i_tell )
         if( p_sys->url.psz_path )
         {
             net_Printf( VLC_OBJECT(p_access), p_sys->fd,
-                        "GET http://%s:%d/%s HTTP/1.%d\r\n",
+                        "GET http://%s:%d%s HTTP/1.%d\r\n",
                         p_sys->url.psz_host, p_sys->url.i_port,
                         p_sys->url.psz_path, p_sys->i_version );
         }
@@ -642,7 +642,6 @@ static int Connect( access_t *p_access, int64_t i_tell )
                         "GET http://%s:%d/ HTTP/1.%d\r\n",
                         p_sys->url.psz_host, p_sys->url.i_port,
                         p_sys->i_version );
-
         }
     }
     else