projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Treewide: cleanup whitespace
[collectd.git]
/
src
/
daemon
/
utils_subst.c
diff --git
a/src/daemon/utils_subst.c
b/src/daemon/utils_subst.c
index
cfa1c76
..
9284f73
100644
(file)
--- a/
src/daemon/utils_subst.c
+++ b/
src/daemon/utils_subst.c
@@
-102,7
+102,7
@@
char *asubst (const char *string, int off1, int off2, const char *replacement)
len = off1 + strlen (replacement) + strlen (string) - off2 + 1;
- buf =
(char *)
malloc (len);
+ buf = malloc (len);
if (NULL == buf)
return NULL;