[vlc-commits] commit: typo ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Mar 10 19:07:49 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 10 20:07:35 2010 +0200| [1dbf36451bb0e4ef0ceef2aadc05c394316a607c] | committer: Rémi Denis-Courmont 

typo

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

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

diff --git a/modules/control/http/util.c b/modules/control/http/util.c
index 1b26dee..565c100 100644
--- a/modules/control/http/util.c
+++ b/modules/control/http/util.c
@@ -60,7 +60,7 @@ static char *FileToUrl( const char *name, bool *pb_index )
     /* convert '\\' into '/' */
     for( char *ptr = url; *ptr; ptr++ )
         if( *ptr == DIR_SEP_CHAR )
-            *name = '/';
+            *ptr = '/';
 #endif
 
     /* index.* -> / */



More information about the vlc-commits mailing list