Revision: 44667
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44667&view=rev
Author:   davidloman
Date:     2011-05-24 18:33:54 +0000 (Tue, 24 May 2011)

Log Message:
-----------
Fix msg type in constructor.  ooops.

Modified Paths:
--------------
    geomcore/trunk/src/libNet/netMsg/DirListResMsg.cxx

Modified: geomcore/trunk/src/libNet/netMsg/DirListResMsg.cxx
===================================================================
--- geomcore/trunk/src/libNet/netMsg/DirListResMsg.cxx  2011-05-24 18:05:19 UTC 
(rev 44666)
+++ geomcore/trunk/src/libNet/netMsg/DirListResMsg.cxx  2011-05-24 18:33:54 UTC 
(rev 44667)
@@ -30,14 +30,14 @@
 /* Normal Constructor */
 DirListResMsg::DirListResMsg(
     std::string path, std::list<std::string>* items) :
-    NetMsg(GEOMETRYMANIFEST), path(path)
+    NetMsg(DIRLISTRES), path(path)
 {
     this->itemData = new std::list<std::string> (*items);
 }
 
 /* Reply Constructor */
 DirListResMsg::DirListResMsg(NetMsg* msg, std::string path, 
std::list<std::string>* items) :
-       NetMsg(GEOMETRYMANIFEST, msg), path(path)
+       NetMsg(DIRLISTRES, msg), path(path)
 {
   this->itemData = new std::list<std::string> (*items);
 }
@@ -46,6 +46,9 @@
 DirListResMsg::DirListResMsg(ByteBuffer* bb, Portal* origin) :
   NetMsg(bb, origin)
 {
+  std::cout << "DEBUG: DESER\t" << bb->toHexString();
+
+
   this->path = bb->getString();
 
   this->itemData = new std::list<std::string>();
@@ -95,6 +98,8 @@
   bb->put32bit(cnt);
   bb->setPosition(stop);
 
+  std::cout << "DEBUG: SER\t" << bb->toHexString();
+
   return true;
 }
 


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

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to