From 2a24a94ba76a0cca004d5b7b09144ae1ac14aa26 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Wed, 14 Apr 2004 05:26:32 +0000 Subject: ok, finished incremental update! now just need to polish up a few things with update git-svn-id: https://svn.musicpd.org/mpd/trunk@745 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/path.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/path.h') diff --git a/src/path.h b/src/path.h index dc66a0733..59fab7c5c 100644 --- a/src/path.h +++ b/src/path.h @@ -49,4 +49,7 @@ char * rpp2app(char * file); /* static char * returned */ char * parentPath(char * path); +/* strips extra "///" and leading "/" and trailing "/" */ +char * sanitizePathDup(char * path); + #endif -- cgit v1.2.3