diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-01-01 10:07:34 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-01-01 10:07:34 +0000 |
commit | 47efe4232123443b3fd33732df08969f3fd7300e (patch) | |
tree | f79803fdaea5264a8d388e6c8a040c22a7ac4782 /src/storedPlaylist.c | |
parent | 49f8660f3528bb9cb8093ea9e9315078da86c579 (diff) | |
download | mpd-47efe4232123443b3fd33732df08969f3fd7300e.tar.gz mpd-47efe4232123443b3fd33732df08969f3fd7300e.tar.xz mpd-47efe4232123443b3fd33732df08969f3fd7300e.zip |
Make utf8_to_fs_playlist_path universally accessible
git-svn-id: https://svn.musicpd.org/mpd/trunk@7115 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/storedPlaylist.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/storedPlaylist.c b/src/storedPlaylist.c index 089869c40..062a0ad1f 100644 --- a/src/storedPlaylist.c +++ b/src/storedPlaylist.c @@ -52,17 +52,6 @@ static int valid_playlist_name(int err_fd, const char *utf8path) return 1; } -/* - * converts a path passed from a client into an absolute, FS path - * paths passed by clients do NOT have file suffixes in them - */ -static void utf8_to_fs_playlist_path(char *path_max_tmp, const char *utf8path) -{ - utf8_to_fs_charset(path_max_tmp, (char *)utf8path); - rpp2app_r(path_max_tmp, path_max_tmp); - strncat(path_max_tmp, "." PLAYLIST_FILE_SUFFIX, MPD_PATH_MAX - 1); -} - static unsigned int lengthOfStoredPlaylist(StoredPlaylist *sp) { return sp->list->numberOfNodes; |