projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a tiny memory leak.
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
7336a5f
..
1feab40
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-246,9
+246,7
@@
static bool parse_options(int argc, char **argv) {
}
static bool drop_privs(void) {
-#ifdef HAVE_MINGW
- return false;
-#else
+#ifndef HAVE_MINGW
uid_t uid = 0;
if (switchuser) {
struct passwd *pw = getpwnam(switchuser);