]> git.sesse.net Git - vlc/commitdiff
Consistent naming
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 24 Jan 2008 16:07:03 +0000 (16:07 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 24 Jan 2008 16:07:03 +0000 (16:07 +0000)
include/vlc_configuration.h
src/config/chain.c
src/misc/variables.c
src/modules/entry.c

index 3af9f9014147ad3c9e9eb2b261534b3b84694f1e..43258e0a516cf599947d867d32a2dbcf0c923c65 100644 (file)
@@ -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;
 };
 
 /*****************************************************************************
index ebb8a80634d11f3fbfb1359f5bf8d32c1d35827f..6ac8d2d045490b0d697b714df3c3951067a3a490 100644 (file)
@@ -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 )
index 0a44246a0e937428a798a234dd095e9c6cda757e..5f83f848f368f10e831a0f31359f8af642d15875 100644 (file)
@@ -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 )
index 2e3edcef81e39165adeb6490e2a6dfdf46160105..ebd0e878de140f9ec6b17b7826b6c6d0fc18182b 100644 (file)
@@ -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;
     }