From ba2094c0c735efc2677ab8c24bdf70ab70874a30 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 4 May 2012 11:52:36 +0200 Subject: Make observe/unobserve work. Store message_t instead of std::string in message queue for client write callback. --- src/connectionhandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connectionhandler.cc') 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++) { -- cgit v1.2.3