Revision: 41621
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41621&view=rev
Author:   davidloman
Date:     2010-12-15 17:44:23 +0000 (Wed, 15 Dec 2010)

Log Message:
-----------
Make NetMsgFactory print received NetMsg type in hex

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

Modified: rt^3/trunk/src/libNet/NetMsgFactory.cxx
===================================================================
--- rt^3/trunk/src/libNet/NetMsgFactory.cxx     2010-12-15 17:40:09 UTC (rev 
41620)
+++ rt^3/trunk/src/libNet/NetMsgFactory.cxx     2010-12-15 17:44:23 UTC (rev 
41621)
@@ -62,8 +62,8 @@
   quint16 msgType = 0;
   temp >> msgType;
 
-  QString s("Got msg. type: ");
-  s.append(QString::number(msgType));
+  QString s("Got msg. type: 0x");
+  s.append(QString::number(msgType,16).toUpper());
   s.append(" len: ");
   s.append(QString::number(data.size()));
   Logger::getInstance()->logDEBUG("NetMsgFactory", s);


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

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to