projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings for functions marked __attribute((warn_unused_result)).
[tinc]
/
src
/
tincctl.c
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
a8930fe
..
331299a
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-792,7
+792,7
@@
static int cmd_start(int argc, char *argv[]) {
c = "tincd";
int nargc = 0;
- char **nargv = x
malloc_and_zero
((optind + argc) * sizeof *nargv);
+ char **nargv = x
zalloc
((optind + argc) * sizeof *nargv);
nargv[nargc++] = c;
for(int i = 1; i < optind; i++)