]> git.sesse.net Git - vlc/commitdiff
*macro.c: Get the name correctly
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 12 Apr 2006 21:22:51 +0000 (21:22 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 12 Apr 2006 21:22:51 +0000 (21:22 +0000)
modules/control/http/macro.c

index 0b7bc35ce3892890dfc73aeb37e5a10c059fb4a2..3c817f3a1f64053ae3c99ac1b486035715756023 100644 (file)
@@ -311,7 +311,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
                     decode_URI( psz_name );
                     if( !*psz_name )
                     {
-                        memcpy( psz_name, mrl, 1024 );
+                        memcpy( psz_name, tmp, 1024 );
                     }
                     /* addslashes for backward compatibility with the old
                      * http intf */