summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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__*/