[vlc-commits] keystore: get keystore value explicitly
Rémi Denis-Courmont
git at videolan.org
Tue Jan 30 20:45:22 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan 30 21:19:45 2018 +0200| [3233f56910e11542eabb059355dc5a09a8876571] | committer: Rémi Denis-Courmont
keystore: get keystore value explicitly
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3233f56910e11542eabb059355dc5a09a8876571
---
src/misc/keystore.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/misc/keystore.c b/src/misc/keystore.c
index 116849e042..efedacf1f5 100644
--- a/src/misc/keystore.c
+++ b/src/misc/keystore.c
@@ -58,7 +58,12 @@ vlc_keystore *
vlc_keystore_create(vlc_object_t *p_parent)
{
assert(p_parent);
- return keystore_create(p_parent, "$keystore");
+
+ char *modlist = var_InheritString(p_parent, "keystore");
+ vlc_keystore *p_keystore = keystore_create(p_parent, modlist);
+
+ free(modlist);
+ return p_keystore;
}
void
More information about the vlc-commits
mailing list