[vlc-commits] Fix compilation

Jean-Baptiste Kempf git at videolan.org
Sun Feb 13 13:47:03 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 13 13:46:51 2011 +0100| [d4ab9ebe4ead5a358c0c2f7861a87cd3520bf3bc] | committer: Jean-Baptiste Kempf

Fix compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d4ab9ebe4ead5a358c0c2f7861a87cd3520bf3bc
---

 modules/access/http.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index e995056..3dbbf8b 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -465,6 +465,7 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
                           "in registry." );
         }
     }
+#else
     else
     {
         psz = getenv( "http_proxy" );
@@ -474,6 +475,7 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
             vlc_UrlParse( &p_sys->proxy, psz, 0 );
         }
     }
+#endif
 
     if( psz ) /* No, this is NOT a use-after-free error */
     {



More information about the vlc-commits mailing list