From 41e72b81d2025d4b34e61b52a8d9b64b63b5c176 Mon Sep 17 00:00:00 2001 From: Chris Teubert Date: Thu, 23 Apr 2015 10:08:17 -0700 Subject: [PATCH] Added a few comments --- xpcPlugin/MessageHandlers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcPlugin/MessageHandlers.cpp b/xpcPlugin/MessageHandlers.cpp index eebe10e..60b43ba 100644 --- a/xpcPlugin/MessageHandlers.cpp +++ b/xpcPlugin/MessageHandlers.cpp @@ -64,7 +64,7 @@ namespace XPC std::string head = msg.GetHead(); if (head == "") { - return; + return; // No Message to handle } msg.PrintToLog(); @@ -101,7 +101,7 @@ namespace XPC } // 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); if (iter != handlers.end()) {