Commit 29de47e7 authored by Thomas Guillem's avatar Thomas Guillem

keystore: match entry if it hasn't a path

parent b4294e3e
......@@ -136,7 +136,10 @@ find_closest_path(vlc_keystore_entry *p_entries, unsigned i_count,
vlc_keystore_entry *p_entry = &p_entries[i];
const char *psz_entry_path = p_entry->ppsz_values[KEY_PATH];
if (psz_entry_path == NULL)
p_match_entry = p_entry;
size_t i_entry_pathlen = strlen(psz_entry_path);
if (strncasecmp(psz_decoded_path, psz_entry_path, i_entry_pathlen) == 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment