snprintf( name, sizeof (name), "%s%s", psz_prefix, optname );
if( var_Create( p_this, name,
config_GetType( p_this, name ) | VLC_VAR_DOINHERIT ) )
- return /* VLC_xxx */;
+ return /* VLC_xxx */;
}
/* Now parse options and set value */
/* </Check if the option is deprecated> */
/* get the type of the variable */
- msg_Err( p_this, "name = %s", name );
i_type = config_GetType( p_this, psz_name );
if( !i_type )
{
free( val2.psz_string );
}
var_Set( p_this, psz_name, val );
- msg_Dbg( p_this, "set config option: %s to %s", psz_name, cfg->psz_value );
+ msg_Dbg( p_this, "set config option: %s to %s", psz_name,
+ cfg->psz_value ? cfg->psz_value : "(null)" );
}
}