From e467e60997d01afc36620b48dc3f7381caa73526 Mon Sep 17 00:00:00 2001 From: barbieri Date: Sat, 2 Jan 2010 03:48:18 +0000 Subject: [PATCH] fix error reporting system. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44846 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/connman/e_connman_private.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/lib/connman/e_connman_private.h b/src/lib/connman/e_connman_private.h index ebc5fce..21118b9 100644 --- a/src/lib/connman/e_connman_private.h +++ b/src/lib/connman/e_connman_private.h @@ -96,21 +96,24 @@ __dbus_callback_check_and_init(const char *file, int line, const char *function, if (!msg) { if (err) - ERR(file, function, line, - "an error was reported by server: " - "name=\"%s\", message=\"%s\"", - err->name, err->message); + eina_log_print(_e_dbus_connman_log_dom, EINA_LOG_LEVEL_ERR, + file, function, line, + "an error was reported by server: " + "name=\"%s\", message=\"%s\"", + err->name, err->message); else - ERR(file, function, line, - "callback without message arguments!"); + eina_log_print(_e_dbus_connman_log_dom, EINA_LOG_LEVEL_ERR, + file, function, line, + "callback without message arguments!"); return 0; } if (!dbus_message_iter_init(msg, itr)) { - ERR(file, function, line, - "could not init iterator."); + eina_log_print(_e_dbus_connman_log_dom, EINA_LOG_LEVEL_ERR, + file, function, line, + "could not init iterator."); return 0; } -- 2.7.4