summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-03-30 12:18:31 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-03-30 12:18:31 +0200
commite2e4a93fe955bdd2de4e5b49974c859c7657d5ff (patch)
treed4bf816e51d44f0e180b71cec7cf40916cb1c62f
parent9e59f28af85f8111bdff5058bbf0d2007f075033 (diff)
Updated interface.
-rw-r--r--src/messagehandler.cc5
-rw-r--r--src/messagehandler.h2
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__*/