diff options
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/update/ExcludeList.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/update/ExcludeList.cxx b/src/db/update/ExcludeList.cxx index 7b691b36b..0a5fbac9f 100644 --- a/src/db/update/ExcludeList.cxx +++ b/src/db/update/ExcludeList.cxx @@ -1,4 +1,3 @@ - /* * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org @@ -27,6 +26,7 @@ #include "ExcludeList.hxx" #include "fs/Path.hxx" #include "fs/FileSystem.hxx" +#include "util/StringUtil.hxx" #include "util/Domain.hxx" #include "Log.hxx" @@ -58,7 +58,7 @@ ExcludeList::LoadFile(Path path_fs) if (p != nullptr) *p = 0; - p = g_strstrip(line); + p = Strip(line); if (*p != 0) patterns.emplace_front(p); } |