]> git.sesse.net Git - vlc/blobdiff - modules/lua/libs/httpd.c
lua: fix equalizer setting code
[vlc] / modules / lua / libs / httpd.c
index 7a975d4bb6d4df997bd315de0c7d3380dd83669a..28f3abd949f6b3fd560cec2c076eed84b21a8c88 100644 (file)
@@ -163,7 +163,7 @@ static int vlclua_httpd_handler_new( lua_State * L )
      * the callback's stack. */
     lua_xmove( L, p_sys->L, 2 );
     httpd_handler_t *p_handler = httpd_HandlerNew(
-                            *pp_host, psz_url, psz_user, psz_password, NULL,
+                            *pp_host, psz_url, psz_user, psz_password,
                             vlclua_httpd_handler_callback, p_sys );
     if( !p_handler )
     {
@@ -251,7 +251,7 @@ static int vlclua_httpd_file_new( lua_State *L )
     p_sys->ref = luaL_ref( L, LUA_REGISTRYINDEX ); /* pops the object too */
     lua_xmove( L, p_sys->L, 2 );
     httpd_file_t *p_file = httpd_FileNew( *pp_host, psz_url, psz_mime,
-                                          psz_user, psz_password, NULL,
+                                          psz_user, psz_password,
                                           vlclua_httpd_file_callback, p_sys );
     if( !p_file )
     {