journal-gatewayd: use skip_leading_chars where appropriate

Prompted by c5d6754725
This commit is contained in:
Mike Yuan
2024-04-17 21:50:22 +08:00
parent 3d6d879d26
commit ee0373cb80
2 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ static inline char *truncate_nl(char *s) {
return truncate_nl_full(s, NULL);
}
static inline char *skip_leading_chars(const char *s, const char *bad) {
static inline char* skip_leading_chars(const char *s, const char *bad) {
if (!s)
return NULL;