summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2016-03-01 15:17:00 -0500
committerirungentoo <irungentoo@gmail.com>2016-03-01 15:17:00 -0500
commitc510e2407f8caa880f38d77386cebc52ae7c1360 (patch)
treee1b2169532b337771fd6b1b56395326537f9bc1a /other
parent72b1a17cc28c9a5a653823336bf0a495f6f271b1 (diff)
parenta8873ed4fdc6f76723c7a581d1a8bef596cf6dc3 (diff)
Merge branch 'master' of https://github.com/susnux/toxcore into susnux-master
Diffstat (limited to 'other')
-rw-r--r--other/bootstrap_daemon/src/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/other/bootstrap_daemon/src/log.c b/other/bootstrap_daemon/src/log.c
index a0ac20d9..ee3a1421 100644
--- a/other/bootstrap_daemon/src/log.c
+++ b/other/bootstrap_daemon/src/log.c
@@ -75,6 +75,8 @@ int level_syslog(LOG_LEVEL level)
75 case LOG_LEVEL_ERROR: 75 case LOG_LEVEL_ERROR:
76 return LOG_ERR; 76 return LOG_ERR;
77 } 77 }
78
79 return LOG_INFO;
78} 80}
79 81
80void log_syslog(LOG_LEVEL level, const char *format, va_list args) 82void log_syslog(LOG_LEVEL level, const char *format, va_list args)
@@ -92,6 +94,8 @@ FILE *level_stdout(LOG_LEVEL level)
92 case LOG_LEVEL_ERROR: 94 case LOG_LEVEL_ERROR:
93 return stderr; 95 return stderr;
94 } 96 }
97
98 return stdout;
95} 99}
96 100
97void log_stdout(LOG_LEVEL level, const char *format, va_list args) 101void log_stdout(LOG_LEVEL level, const char *format, va_list args)