path: removed pathcpy_trunc()
There was only one user of pathcpy_trunc(), which can be eliminated.
This commit is contained in:
@@ -61,12 +61,6 @@ char *rpp2app_r(char *dst, const char *rel_path);
|
||||
/* strips extra "///" and leading "/" and trailing "/" */
|
||||
char *sanitizePathDup(const char *path);
|
||||
|
||||
/* this is actually like strlcpy (OpenBSD), but we don't actually want to
|
||||
* blindly use it everywhere, only for paths that are OK to truncate (for
|
||||
* error reporting and such.
|
||||
* dest must be MPD_PATH_MAX bytes large (which is standard in mpd) */
|
||||
void pathcpy_trunc(char *dest, const char *src);
|
||||
|
||||
/*
|
||||
* converts a path passed from a client into an absolute FS path.
|
||||
* paths passed by clients do NOT have file suffixes in them
|
||||
|
Reference in New Issue
Block a user