summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug.c1
-rw-r--r--main.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index b3e3c4e..cea1ff7 100644
--- a/debug.c
+++ b/debug.c
@@ -108,7 +108,6 @@ dbg_status_t dbg_init(unsigned int flags, ...)
dbg_config.flags = flags;
- dbg_config.flags = DBG_FLAG_DEFAULT;
dbg_config.fd = -1;
dbg_config.file_fd = -1;
diff --git a/main.c b/main.c
index 54778fa..00a637f 100644
--- a/main.c
+++ b/main.c
@@ -43,7 +43,7 @@ int main(int argc, char *argv[])
*/
dbg_status_t status = dbg_init(//DBG_FLAG_USE_MUTEX |
//DBG_FLAG_OUTPUT_TO_FILE |
- //DBG_FLAG_OUTPUT_TO_FD |
+ DBG_FLAG_OUTPUT_TO_FD |
// DBG_FLAG_OUTPUT_TO_STDOUT |
DBG_FLAG_OUTPUT_TO_SYSLOG |
//DBG_FLAG_OUTPUT_TO_STDERR |