From 262c049bddab97077b49e00600a33ccd242d052d Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 24 Jan 2008 16:07:03 +0000 Subject: [PATCH] Consistent naming --- include/vlc_configuration.h | 2 +- src/config/chain.c | 2 +- src/misc/variables.c | 2 +- src/modules/entry.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index 3af9f90141..43258e0a51 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -191,7 +191,7 @@ struct module_config_t vlc_bool_t b_autosave; /* Config will be auto-saved at exit time */ vlc_bool_t b_unsaveable; /* Config should be saved */ - vlc_bool_t b_unsafe; + vlc_bool_t b_safe; }; /***************************************************************************** diff --git a/src/config/chain.c b/src/config/chain.c index ebb8a80634..6ac8d2d045 100644 --- a/src/config/chain.c +++ b/src/config/chain.c @@ -320,7 +320,7 @@ void __config_ChainParse( vlc_object_t *p_this, const char *psz_prefix, msg_Warn( p_this, "Option %s is obsolete. Use %s instead.", name, psz_name ); } - if( p_conf->b_unsafe ) + if( p_conf->b_safe ) { int policy = config_GetInt( p_this, "security-policy" ); switch( policy ) diff --git a/src/misc/variables.c b/src/misc/variables.c index 0a44246a0e..5f83f848f3 100644 --- a/src/misc/variables.c +++ b/src/misc/variables.c @@ -1099,7 +1099,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option ) /* check if option is unsafe */ { module_config_t *p_config = config_FindConfig( p_obj, psz_name ); - if( p_config->b_unsafe ) + if( p_config->b_safe ) { int policy = config_GetInt( p_obj, "security-policy" ); switch( policy ) diff --git a/src/modules/entry.c b/src/modules/entry.c index 2e3edcef81..ebd0e878de 100644 --- a/src/modules/entry.c +++ b/src/modules/entry.c @@ -412,7 +412,7 @@ int vlc_config_set (module_config_t *restrict item, int id, ...) } case VLC_CONFIG_SAFE: - item->b_unsafe = VLC_TRUE; + item->b_safe = VLC_TRUE; ret = 0; break; } -- 2.39.2