summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-03-30 12:05:39 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-03-30 12:05:39 +0200
commitf9d695fbbec1bb6f96492d54a5500cb9de7464d4 (patch)
tree85546b0f37749a5dde4887cf82330f93e37c4c7e
parentaed0fb34803583fa2615f81d04c8cf808a1f9c33 (diff)
Fixed compile error.
-rw-r--r--src/messagehandler.cc6
-rw-r--r--src/messagehandler.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/messagehandler.cc b/src/messagehandler.cc
index 6814030..e12e9d2 100644
--- a/src/messagehandler.cc
+++ b/src/messagehandler.cc
@@ -32,13 +32,13 @@
TaskManager taskman;
-bool handle_msg(MsgList inMsgList) {
+bool handle_msg(MessageList inMsgList) {
- MsgList::iterator it;
+ MessageList::iterator it;
for(it = inMsgList.begin();
it != inMsgList.end();
it++) {
- msg_t m = *it;
+ message_t m = *it;
switch(m.cmd) {
case cmd::add:
diff --git a/src/messagehandler.h b/src/messagehandler.h
index 4c40b7a..9b65c2e 100644
--- a/src/messagehandler.h
+++ b/src/messagehandler.h
@@ -31,7 +31,7 @@
#include "messageparser.h"
-bool handle_msg(MsgList inMsgList);
+bool handle_msg(MessageList inMsgList);
#endif/*__MUNIA_MSGHANDLER_H__*/