Commit 8a2ce299 authored by Rafaël Carré's avatar Rafaël Carré

Revert "directory access: avoid useless strdup"

This reverts commit 0cef084b.

It broke playlist-tree
parent db4566e1
...@@ -165,7 +165,7 @@ int DirInit (access_t *p_access, DIR *handle) ...@@ -165,7 +165,7 @@ int DirInit (access_t *p_access, DIR *handle)
p_sys->ignored_exts = var_InheritString (p_access, "ignore-filetypes"); p_sys->ignored_exts = var_InheritString (p_access, "ignore-filetypes");
p_sys->header = true; p_sys->header = true;
p_sys->i_item_count = 0; p_sys->i_item_count = 0;
p_sys->xspf_ext = NULL; p_sys->xspf_ext = strdup ("");
/* Handle mode */ /* Handle mode */
char *psz = var_InheritString (p_access, "recursive"); char *psz = var_InheritString (p_access, "recursive");
......
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