Commit 8ad73239 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

directory: flawed logic

parent 573c2015
...@@ -163,8 +163,8 @@ input_item_t *DirRead(access_t *access) ...@@ -163,8 +163,8 @@ input_item_t *DirRead(access_t *access)
} }
/* Create an input item for the current entry */ /* Create an input item for the current entry */
char *encoded= vlc_uri_encode(entry); char *encoded = vlc_uri_encode(entry);
if (unlikely(entry == NULL)) if (unlikely(encoded == NULL))
continue; continue;
char *uri; char *uri;
......
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