]> git.sesse.net Git - vlc/commitdiff
http: psz_dir is not meant to be a const
authorRafaël Carré <funman@videolan.org>
Tue, 9 Oct 2007 14:08:55 +0000 (14:08 +0000)
committerRafaël Carré <funman@videolan.org>
Tue, 9 Oct 2007 14:08:55 +0000 (14:08 +0000)
modules/control/http/http.h
modules/control/http/mvar.c

index 40551f4bdb987dc4325170ba197624df484d745f..fbd340a29bd2407899b9ef8f8fa5479f50368cc6 100644 (file)
@@ -224,7 +224,7 @@ mvar_t *E_(mvar_InputVarSetNew)( intf_thread_t *p_intf, char *name,
 /** This function creates a set variable representing the files of the psz_dir
  * directory */
 mvar_t *E_(mvar_FileSetNew)( intf_thread_t *p_intf, char *name,
-                             const char *psz_dir );
+                             char *psz_dir );
 /** This function creates a set variable representing the VLM streams */
 mvar_t *E_(mvar_VlmSetNew)( char *name, vlm_t *vlm );
 
index 48ddad82813967bcc7190fee8bbc45941ad55d94..332de147d896ff8f4687d777d22d615e9f00944e 100644 (file)
@@ -506,7 +506,7 @@ mvar_t *E_(mvar_HttpdInfoSetNew)( char *name, httpd_t *p_httpd, int i_type )
 #endif
 
 mvar_t *E_(mvar_FileSetNew)( intf_thread_t *p_intf, char *name,
-                             const char *psz_dir )
+                             char *psz_dir )
 {
     mvar_t *s = E_(mvar_New)( name, "set" );
 #ifdef HAVE_SYS_STAT_H