FileCommands: skip special files completely
Previously, MPD printed the time stamp without printing the file name. That made no sense.
This commit is contained in:
parent
2d06a8e880
commit
00583bc4a8
|
@ -111,6 +111,8 @@ handle_listfiles_local(Client &client, const char *path_utf8)
|
||||||
} else if (S_ISDIR(st.st_mode))
|
} else if (S_ISDIR(st.st_mode))
|
||||||
client_printf(client, "directory: %s\n",
|
client_printf(client, "directory: %s\n",
|
||||||
name_utf8.c_str());
|
name_utf8.c_str());
|
||||||
|
else
|
||||||
|
continue;
|
||||||
|
|
||||||
time_print(client, "Last-Modified", st.st_mtime);
|
time_print(client, "Last-Modified", st.st_mtime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue