From e2e4a93fe955bdd2de4e5b49974c859c7657d5ff Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Fri, 30 Mar 2012 12:18:31 +0200 Subject: Updated interface. --- src/messagehandler.cc | 5 +++-- src/messagehandler.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/messagehandler.cc b/src/messagehandler.cc index e12e9d2..90a89a3 100644 --- a/src/messagehandler.cc +++ b/src/messagehandler.cc @@ -32,7 +32,7 @@ TaskManager taskman; -bool handle_msg(MessageList inMsgList) { +MessageList handle_msg(MessageList inMsgList) { MessageList::iterator it; for(it = inMsgList.begin(); @@ -71,7 +71,8 @@ bool handle_msg(MessageList inMsgList) { } } - return true; + MessageList msglist; + return msglist; } #ifdef TEST_MSGHANDLER diff --git a/src/messagehandler.h b/src/messagehandler.h index 9b65c2e..2651255 100644 --- a/src/messagehandler.h +++ b/src/messagehandler.h @@ -31,7 +31,7 @@ #include "messageparser.h" -bool handle_msg(MessageList inMsgList); +MessageList handle_msg(MessageList inMsgList); #endif/*__MUNIA_MSGHANDLER_H__*/ -- cgit v1.2.3