X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_subst.c;h=a016342540cf95332074bcb395a6564adc512316;hb=307c875e5a78a2729fbbe1a588d232e9a129d75a;hp=7056c5f0fd3bb02f3131e5ee571649b1ff309090;hpb=eec0cd9ca51c5c132ed09fc4699c02f3bd12d748;p=collectd.git diff --git a/src/daemon/utils_subst.c b/src/daemon/utils_subst.c index 7056c5f0..a0163425 100644 --- a/src/daemon/utils_subst.c +++ b/src/daemon/utils_subst.c @@ -119,7 +119,7 @@ char *subst_string(char *buf, size_t buflen, const char *string, if ((buf == NULL) || (string == NULL) || (needle == NULL) || (replacement == NULL)) - return (NULL); + return NULL; needle_len = strlen(needle); sstrncpy(buf, string, buflen); @@ -157,7 +157,5 @@ char *subst_string(char *buf, size_t buflen, const char *string, i, string, needle, replacement); } - return (buf); + return buf; } /* char *subst_string */ - -/* vim: set sw=4 ts=4 tw=78 noexpandtab : */