Added a few comments

This commit is contained in:
Chris Teubert
2015-04-23 10:08:17 -07:00
parent 368c3bed20
commit 41e72b81d2

View File

@@ -64,7 +64,7 @@ namespace XPC
std::string head = msg.GetHead(); std::string head = msg.GetHead();
if (head == "") if (head == "")
{ {
return; return; // No Message to handle
} }
msg.PrintToLog(); msg.PrintToLog();
@@ -101,7 +101,7 @@ namespace XPC
} }
// Check if there is a handler for this message type. If so, execute // Check if there is a handler for this message type. If so, execute
// that handler. Othewwise, execute the unknown message handler. // that handler. Otherwise, execute the unknown message handler.
auto iter = handlers.find(head); auto iter = handlers.find(head);
if (iter != handlers.end()) if (iter != handlers.end())
{ {