summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpd <shackan@gmail.com>2008-09-05 16:30:11 +0200
committerpd <shackan@gmail.com>2008-09-05 16:30:11 +0200
commit17474fbb874876bfa4e7aec9e0705d0065848464 (patch)
tree7aedd92b77ba36c8ed952aa0d1355c16bf8a91e1 /src
parent96eb77ce7eea3b3d6155562fc1c7a7b1c206f287 (diff)
downloaddbus-c++-17474fbb874876bfa4e7aec9e0705d0065848464.tar.gz
Edited debug output in eventloop
Diffstat (limited to 'src')
-rw-r--r--src/eventloop-integration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eventloop-integration.cpp b/src/eventloop-integration.cpp
index ca72ca8..b107567 100644
--- a/src/eventloop-integration.cpp
+++ b/src/eventloop-integration.cpp
@@ -97,7 +97,8 @@ Timeout *BusDispatcher::add_timeout(Timeout::Internal *ti)
bt->expired = new Callback<BusDispatcher, void, DefaultTimeout &>(this, &BusDispatcher::timeout_expired);
bt->data(bt);
- debug_log("added timeout %p (%s)", bt, ((Timeout *)bt)->enabled() ? "on":"off");
+ debug_log("added timeout %p (%s) interval=%d",
+ bt, ((Timeout *)bt)->enabled() ? "on":"off", ((Timeout *)bt)->interval());
return bt;
}
@@ -117,8 +118,7 @@ Watch *BusDispatcher::add_watch(Watch::Internal *wi)
bw->data(bw);
debug_log("added watch %p (%s) fd=%d flags=%d",
- bw, ((Watch *)bw)->enabled() ? "on":"off", ((Watch *)bw)->descriptor(), ((Watch *)bw)->flags()
- );
+ bw, ((Watch *)bw)->enabled() ? "on":"off", ((Watch *)bw)->descriptor(), ((Watch *)bw)->flags());
return bw;
}