summaryrefslogtreecommitdiff
path: root/src/LogInit.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 15:25:32 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 15:36:47 +0200
commitb39ab76118067fe6e7cb83afb176dcef4c936d3d (patch)
tree529201bb86cdf2c0f3d142aecbb2ace5209b6b89 /src/LogInit.cxx
parent90777f78c99774023e694bef5933da88d74f4d45 (diff)
Util/CharUtil: new library replacing g_ascii_isX()
Diffstat (limited to 'src/LogInit.cxx')
-rw-r--r--src/LogInit.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LogInit.cxx b/src/LogInit.cxx
index e07c3e947..1b393fc3f 100644
--- a/src/LogInit.cxx
+++ b/src/LogInit.cxx
@@ -29,6 +29,7 @@
#include "fs/FileSystem.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
+#include "util/CharUtil.hxx"
#include "system/FatalError.hxx"
#include <assert.h>
@@ -89,7 +90,7 @@ chomp_length(const char *p)
{
size_t length = strlen(p);
- while (length > 0 && g_ascii_isspace(p[length - 1]))
+ while (length > 0 && IsWhitespaceOrNull(p[length - 1]))
--length;
return (int)length;