Revision: 40869
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40869&view=rev
Author:   davidloman
Date:     2010-09-29 19:38:35 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
Added include for TypeOnlyMsg, fixed return values in routeMsg()

Modified Paths:
--------------
    rt^3/trunk/src/libNet/NetMsgRouter.cxx

Modified: rt^3/trunk/src/libNet/NetMsgRouter.cxx
===================================================================
--- rt^3/trunk/src/libNet/NetMsgRouter.cxx      2010-09-29 19:30:25 UTC (rev 
40868)
+++ rt^3/trunk/src/libNet/NetMsgRouter.cxx      2010-09-29 19:38:35 UTC (rev 
40869)
@@ -26,6 +26,7 @@
 #include "NetMsgRouter.h"
 #include <QtCore/QMutexLocker>
 #include "Portal.h"
+#include "TypeOnlyMsg.h"
 
 NetMsgRouter* NetMsgRouter::pInstance = NULL;
 
@@ -73,7 +74,7 @@
                //If no routing table, send back an error
                TypeOnlyMsg* tom = new TypeOnlyMsg(UNHANDLED_MSG_TYPE);
                origin->send(tom);
-               return;
+               return false;
 
        } else {
                for (int i = 0; i < list->length(); ++i) {
@@ -82,6 +83,7 @@
        }
        //Now delete msg
        delete msg;
+       return true;
 }
 
 QList<INetMsgHandler*>*


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to