diff options
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -205,7 +205,7 @@ static int dbg_create_header(char *hdr, size_t size) t.tm_sec); } -static int dbg_output_fd(int fd, const char *msg, bool withdate) +static int dbg_output_fd(int fd, const char *msg, int withdate) { int s; @@ -265,15 +265,15 @@ int __debug(const char *func, const int line, } if(dbg_config.flags & DBG_FLAG_OUTPUT_TO_STDERR) { - dbg_output_fd(STDERR_FILENO, buf, true); + dbg_output_fd(STDERR_FILENO, buf, 1); } if(dbg_config.flags & DBG_FLAG_OUTPUT_TO_FD) { - dbg_output_fd(dbg_config.fd, buf, true); + dbg_output_fd(dbg_config.fd, buf, 1); } if(dbg_config.flags & DBG_FLAG_OUTPUT_TO_FILE) { - dbg_output_fd(dbg_config.file_fd, buf, true); + dbg_output_fd(dbg_config.file_fd, buf, 1); } #ifdef WITH_DBG_SYSLOG |