[vlc-devel] commit: HTTP: fix browsing on Win32 - closes #1656 ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jul 7 20:21:55 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jul  7 21:23:56 2008 +0300| [e74dad9af3f44dbd1e08e07eff52db3b8f2658af]

HTTP: fix browsing on Win32 - closes #1656

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

 modules/control/http/mvar.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/modules/control/http/mvar.c b/modules/control/http/mvar.c
index c31e64a..e5252ff 100644
--- a/modules/control/http/mvar.c
+++ b/modules/control/http/mvar.c
@@ -509,14 +509,6 @@ mvar_t *mvar_FileSetNew( intf_thread_t *p_intf, char *name,
     int           i_dir_content, i;
     psz_dir = RealPath( psz_dir );
 
-#if defined( WIN32 )
-    if( psz_dir[0] != '\0' && (psz_dir[0] != '\\' || psz_dir[1] != '\0') )
-    {
-        free( psz_dir );
-        return s;
-    }
-#endif
-
     /* parse psz_src dir */
     if( ( i_dir_content = utf8_scandir( psz_dir, &ppsz_dir_content, Filter,
                                         InsensitiveAlphasort ) ) == -1 )




More information about the vlc-devel mailing list