Compile fix
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 4 Aug 2007 17:40:15 +0000 (17:40 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 4 Aug 2007 17:40:15 +0000 (17:40 +0000)
modules/control/http/util.c

index a32a7f9..64d913a 100644 (file)
@@ -980,6 +980,7 @@ char *E_(RealPath)( intf_thread_t *p_intf, const char *psz_src )
 
     if( psz_dir[0] == '~' )
     {
+        char dir;
         /* This is incomplete : we should also support the ~cmassiot/ syntax. */
         asprintf( &dir, "%s%s", p_intf->p_libvlc->psz_userdir, psz_dir + 1 );
         free( psz_dir );