aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-07 14:53:07 +0200
committerMax Kellermann <max@duempel.org>2014-08-07 16:08:02 +0200
commit87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802 (patch)
tree9f2170889dfbfff90816d7d4eea7b19373ba213f /src/fs
parentdb6db517424e09bab9a12934e9df6807a7049926 (diff)
downloadmpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.tar.gz
mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.tar.xz
mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.zip
util/StringUtil: rename strchug_fast() to StripLeft()
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/StandardDirectory.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/StandardDirectory.cxx b/src/fs/StandardDirectory.cxx
index c266480f7..c922b22d3 100644
--- a/src/fs/StandardDirectory.cxx
+++ b/src/fs/StandardDirectory.cxx
@@ -129,7 +129,7 @@ static bool
ParseConfigLine(char *line, const char *dir_name, AllocatedPath &result_dir)
{
// strip leading white space
- line = strchug_fast(line);
+ line = StripLeft(line);
// check for end-of-line or comment
if (*line == '\0' || *line == '#')
@@ -141,11 +141,11 @@ ParseConfigLine(char *line, const char *dir_name, AllocatedPath &result_dir)
line += strlen(dir_name);
// strip equals sign and spaces around it
- line = strchug_fast(line);
+ line = StripLeft(line);
if (*line != '=')
return false;
++line;
- line = strchug_fast(line);
+ line = StripLeft(line);
// check if path is quoted
bool quoted = false;