]> git.sesse.net Git - vlc/blobdiff - src/modules/entry.c
Whitelisting.
[vlc] / src / modules / entry.c
index ac006c9b23243b612c659e1989509a8024146906..2e3edcef81e39165adeb6490e2a6dfdf46160105 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <assert.h>
 #include <stdarg.h>
 
 #include "modules/modules.h"
-#include "config/config.h"
+#include "config/configuration.h"
 #include "libvlc.h"
 
 static const char default_name[] = "unnamed";
@@ -407,7 +411,7 @@ int vlc_config_set (module_config_t *restrict item, int id, ...)
             break;
         }
 
-        case VLC_CONFIG_UNSAFE:
+        case VLC_CONFIG_SAFE:
             item->b_unsafe = VLC_TRUE;
             ret = 0;
             break;