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 40551f4..fbd340a 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 48ddad8..332de14 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