summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-26 13:37:38 +0100
committerMax Kellermann <max@duempel.org>2014-12-26 13:37:38 +0100
commit705b3c6b63bd41f1eefe27c8d5291e3897026238 (patch)
tree7d999b1b0635c1b1573ac0c01a89fdfad3c53e05
parent6b4ac669629d7adf821700ae9284b057dd1907d8 (diff)
util/ASCII: fix indent
-rw-r--r--src/util/ASCII.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/util/ASCII.hxx b/src/util/ASCII.hxx
index 19a18a1bb..cd26d9dec 100644
--- a/src/util/ASCII.hxx
+++ b/src/util/ASCII.hxx
@@ -43,24 +43,24 @@ gcc_pure gcc_nonnull_all
static inline bool
StringEqualsCaseASCII(const char *a, const char *b)
{
- assert(a != nullptr);
- assert(b != nullptr);
+ assert(a != nullptr);
+ assert(b != nullptr);
- /* note: strcasecmp() depends on the locale, but for ASCII-only
- strings, it's safe to use */
- return strcasecmp(a, b) == 0;
+ /* note: strcasecmp() depends on the locale, but for ASCII-only
+ strings, it's safe to use */
+ return strcasecmp(a, b) == 0;
}
gcc_pure gcc_nonnull_all
static inline bool
StringEqualsCaseASCII(const char *a, const char *b, size_t n)
{
- assert(a != nullptr);
- assert(b != nullptr);
+ assert(a != nullptr);
+ assert(b != nullptr);
- /* note: strcasecmp() depends on the locale, but for ASCII-only
- strings, it's safe to use */
- return strncasecmp(a, b, n) == 0;
+ /* note: strcasecmp() depends on the locale, but for ASCII-only
+ strings, it's safe to use */
+ return strncasecmp(a, b, n) == 0;
}
#endif