projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368727c
)
Fix compile error on Windows.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 14 Oct 2012 14:39:16 +0000
(16:39 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 14 Oct 2012 14:39:16 +0000
(16:39 +0200)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 19c058293ec53d506a4dacbd0c8449587ec4e2e8..bec78ba0e28c69120d633bad8be82422fee2d674 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-73,7
+73,7
@@
static bool install_service(void) {
strncat(command, "\"", sizeof command - strlen(command));
for(char **argp = g_argv + 1; *argp; argp++) {
- char
&
space = strchr(*argp, ' ');
+ char
*
space = strchr(*argp, ' ');
strncat(command, " ", sizeof command - strlen(command));
if(space)