aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-02-28 23:19:28 +0100
committerMax Kellermann <max@duempel.org>2015-02-28 23:19:34 +0100
commita918821868228d4f49d0e96c58bc8a6a3b4a91e0 (patch)
tree6037d520e2b4cec1aab94c733e1bc8e2191cca2a
parentc637b96f10e5452147751bb0e6d61cc574760f04 (diff)
downloadmpd-a918821868228d4f49d0e96c58bc8a6a3b4a91e0.tar.gz
mpd-a918821868228d4f49d0e96c58bc8a6a3b4a91e0.tar.xz
mpd-a918821868228d4f49d0e96c58bc8a6a3b4a91e0.zip
fs/Traits: add missing dereference in RelativePathImpl()
Diffstat (limited to '')
-rw-r--r--src/fs/Traits.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Traits.cxx b/src/fs/Traits.cxx
index 225a6ee71..e434a779c 100644
--- a/src/fs/Traits.cxx
+++ b/src/fs/Traits.cxx
@@ -98,7 +98,7 @@ RelativePathImpl(typename Traits::const_pointer base,
return nullptr;
other += base_length;
- if (other != 0) {
+ if (*other != 0) {
if (!Traits::IsSeparator(*other))
/* mismatch */
return nullptr;