Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
262c049b
Commit
262c049b
authored
Jan 24, 2008
by
Rémi Denis-Courmont
Browse files
Consistent naming
parent
1bfa2aad
Changes
4
Hide whitespace changes
Inline
Side-by-side
include/vlc_configuration.h
View file @
262c049b
...
...
@@ -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_
un
safe
;
vlc_bool_t
b_safe
;
};
/*****************************************************************************
...
...
src/config/chain.c
View file @
262c049b
...
...
@@ -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_
un
safe
)
if
(
p_conf
->
b_safe
)
{
int
policy
=
config_GetInt
(
p_this
,
"security-policy"
);
switch
(
policy
)
...
...
src/misc/variables.c
View file @
262c049b
...
...
@@ -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_
un
safe
)
if
(
p_config
->
b_safe
)
{
int
policy
=
config_GetInt
(
p_obj
,
"security-policy"
);
switch
(
policy
)
...
...
src/modules/entry.c
View file @
262c049b
...
...
@@ -412,7 +412,7 @@ int vlc_config_set (module_config_t *restrict item, int id, ...)
}
case
VLC_CONFIG_SAFE
:
item
->
b_
un
safe
=
VLC_TRUE
;
item
->
b_safe
=
VLC_TRUE
;
ret
=
0
;
break
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment