summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>2010-12-07 17:01:00 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-12-07 17:23:07 +0200
commitc96a9d08d11eb92b56baa08e1a9547990184b452 (patch)
treed02ce5767919cc4b2e7d2cafae8d61361c61367e /client
parent23fd0b08468a9c5308350e4c3d843775b23e2c48 (diff)
downloadobexd-c96a9d08d11eb92b56baa08e1a9547990184b452.tar.gz
Fix logging for obex-client
Since obex-client and obexd share the same log code they both were using obexd for openlog which makes it very confusing when reading the logs. To fix this now __obex_log_init takes the binary name so that each daemon can be properly labeled.
Diffstat (limited to 'client')
-rw-r--r--client/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/main.c b/client/main.c
index 74db15e..20d56d2 100644
--- a/client/main.c
+++ b/client/main.c
@@ -613,7 +613,7 @@ int main(int argc, char *argv[])
event_loop = g_main_loop_new(NULL, FALSE);
- __obex_log_init(option_debug, !option_stderr);
+ __obex_log_init("obex-client", option_debug, !option_stderr);
DBG("Entering main loop");