summaryrefslogtreecommitdiffstats
path: root/workspace/customdhcpcd/src/logwriter.c
diff options
context:
space:
mode:
authorNiklas2011-08-01 16:55:01 +0200
committerNiklas2011-08-01 16:55:01 +0200
commite0d30e3134fcbe54182d53e69f64167db408014b (patch)
treeec870362fb54c9a8ed0ea5bd815721888e356a2d /workspace/customdhcpcd/src/logwriter.c
parentseperation of logic and gui completed. (diff)
downloadfbgui-e0d30e3134fcbe54182d53e69f64167db408014b.tar.gz
fbgui-e0d30e3134fcbe54182d53e69f64167db408014b.tar.xz
fbgui-e0d30e3134fcbe54182d53e69f64167db408014b.zip
added some log statements to the dhcpcd client. But unfortunately it seems that some message will not be delivered. It happens that after the process finished message, some other messages arrived
Diffstat (limited to 'workspace/customdhcpcd/src/logwriter.c')
-rw-r--r--workspace/customdhcpcd/src/logwriter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/workspace/customdhcpcd/src/logwriter.c b/workspace/customdhcpcd/src/logwriter.c
index be8ee26..89aadb6 100644
--- a/workspace/customdhcpcd/src/logwriter.c
+++ b/workspace/customdhcpcd/src/logwriter.c
@@ -144,5 +144,5 @@ void logSendToQt(int type) {
void logLoggerToQt(int level, const char *fmt, va_list args) {
vsnprintf(mesg, sizeof(mesg), fmt, args);
strcat(mesg, "\n");
- logToQt(level, 0, mesg);
+ logToQt(level, DHCPCD_LOG, mesg);
}