commit | 45c4b1a19f4ab9d97d2522648dbb48b583ca4c33 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed May 19 16:48:12 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed May 19 16:48:12 2021 +0200 |
tree | e27c1e5b39b375020e5c91a4900e3ba693fda0fd | |
parent | d304a08cc560847eeadd785dd8ea8c1e1c8c5315 [diff] [blame] |
compat REFACTOR formatting
diff --git a/compat/compat.c b/compat/compat.c index 71e8176..bf75c74 100644 --- a/compat/compat.c +++ b/compat/compat.c
@@ -175,6 +175,7 @@ strchrnul(const char *s, int c) { char *p = strchr(s, c); + return p ? p : (char *)s + strlen(s); }