projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix typo 0fda572c88d02b0b200ef81d72cc4da594fa0e38 that prevented some errors from...
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
c4806ba
..
d497bcc
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-187,6
+187,7
@@
static bool parse_options(int argc, char **argv) {
break;
case 's': /* syslog */
+ use_logfile = false;
use_syslog = true;
break;
@@
-225,6
+226,7
@@
static bool parse_options(int argc, char **argv) {
break;
case 4: /* write log entries to a file */
+ use_syslog = false;
use_logfile = true;
if(!optarg && optind < argc && *argv[optind] != '-')
optarg = argv[optind++];