summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-04 22:15:54 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-04 22:15:54 +0000
commit99b31e340352a3f775404591e8c899ed4a4af409 (patch)
tree0499fcee7db8cf1c7d3d3183ac55f0600ce02efb
parent56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726 (diff)
downloadmandi-99b31e340352a3f775404591e8c899ed4a4af409.tar
mandi-99b31e340352a3f775404591e8c899ed4a4af409.tar.gz
mandi-99b31e340352a3f775404591e8c899ed4a4af409.tar.bz2
mandi-99b31e340352a3f775404591e8c899ed4a4af409.tar.xz
mandi-99b31e340352a3f775404591e8c899ed4a4af409.zip
remove some debug messages
-rw-r--r--src/mandi_daemon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mandi_daemon.c b/src/mandi_daemon.c
index da7136e..d11580d 100644
--- a/src/mandi_daemon.c
+++ b/src/mandi_daemon.c
@@ -204,7 +204,9 @@ static int mandi_daemon_init_watch(mandi_daemon_t *daemon) {
static dbus_bool_t mandi_daemon_add_watch(DBusWatch *watch, void *data) {
mandi_daemon_t *daemon = (mandi_daemon_t *) data;
if (dbus_watch_get_flags(watch) & DBUS_WATCH_READABLE) {
+#ifdef DEBUG
fprintf(stderr, "mandi_daemon_add_watch(): READABLE\n");
+#endif
daemon->bus_read_watch = watch;
daemon->bus_read_fd = dbus_watch_get_fd(daemon->bus_read_watch);
}
@@ -213,13 +215,17 @@ static dbus_bool_t mandi_daemon_add_watch(DBusWatch *watch, void *data) {
}
static void mandi_daemon_toggle_watch(DBusWatch *watch, void *data) {
+#ifdef DEBUG
fprintf(stderr, "mandi_daemon_toggle_watch()\n");
+#endif
/* FIXME : do we need to do something here ? */
}
static void mandi_daemon_remove_watch(DBusWatch *watch, void *data) {
if (dbus_watch_get_flags(watch) & DBUS_WATCH_READABLE) {
+#ifdef DEBUG
fprintf(stderr, "mandi_daemon_remove_watch(): READABLE\n");
+#endif
/* FIXME : do we need to do something here ? */
}
}