summaryrefslogtreecommitdiff
path: root/src/connectionhandler.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-05-04 11:52:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-05-04 11:52:36 +0200
commitba2094c0c735efc2677ab8c24bdf70ab70874a30 (patch)
tree1703ee75e71f0fb5d34fdc7cc9d21cec174d4585 /src/connectionhandler.cc
parent5523263c6ca0782979394ba25c1679801bf5fe99 (diff)
Make observe/unobserve work. Store message_t instead of std::string in message queue for client write callback.
Diffstat (limited to 'src/connectionhandler.cc')
-rw-r--r--src/connectionhandler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connectionhandler.cc b/src/connectionhandler.cc
index c8881a3..da94cb8 100644
--- a/src/connectionhandler.cc
+++ b/src/connectionhandler.cc
@@ -67,7 +67,7 @@ void ConnectionHandler::unobserve(clientid_t clientid, taskid_t taskid)
ObserverList ConnectionHandler::observerlist(TaskIdList tasks)
{
- printf("Observerlist request\n");
+ printf("Observerlist request (#tasks: %d)\n", tasks.size());
ObserverList clients;
for(TaskIdList::iterator i = tasks.begin(); i != tasks.end(); i++) {