projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move RSA key generation into the wrappers.
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
cb86cd8
..
3e3b7b0
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-186,7
+186,7
@@
static void make_names(void)
#ifdef HAVE_MINGW
HKEY key;
char installdir[1024] = "";
#ifdef HAVE_MINGW
HKEY key;
char installdir[1024] = "";
- long len = sizeof
(installdir)
;
+ long len = sizeof
installdir
;
#endif
if(netname)
#endif
if(netname)
@@
-213,7
+213,7
@@
static void make_names(void)
#endif
if(!controlsocketname)
#endif
if(!controlsocketname)
- asprintf(&controlsocketname,
LOCALSTATEDIR "/run/%s.control"
, identname);
+ asprintf(&controlsocketname,
"%s/run/%s.control/socket", LOCALSTATEDIR
, identname);
if(!logfilename)
asprintf(&logfilename, LOCALSTATEDIR "/log/%s.log", identname);
if(!logfilename)
asprintf(&logfilename, LOCALSTATEDIR "/log/%s.log", identname);