Revision: 40672
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40672&view=rev
Author:   davidloman
Date:     2010-09-24 14:22:19 +0000 (Fri, 24 Sep 2010)

Log Message:
-----------
Cascading changes from libpkgcpp

Modified Paths:
--------------
    rt^3/trunk/tests/libpkgcpp/pkgcppTest.cxx

Modified: rt^3/trunk/tests/libpkgcpp/pkgcppTest.cxx
===================================================================
--- rt^3/trunk/tests/libpkgcpp/pkgcppTest.cxx   2010-09-24 14:04:49 UTC (rev 
40671)
+++ rt^3/trunk/tests/libpkgcpp/pkgcppTest.cxx   2010-09-24 14:22:19 UTC (rev 
40672)
@@ -168,7 +168,7 @@
       { PKGCPP_CIAO, server_ciao, "CIAO" },
       { 0, 0, (char*) 0 } };
 
-  PkgTcpServer pkgServer(callbacks);
+  PkgTcpServer pkgServer;
   pkgServer.listen(port);
 
   //Setup vars
@@ -206,6 +206,8 @@
     }
   while (pkgClient == NULL);
 
+  pkgClient->setCallBackTable(callbacks);
+
   int counter = 0;
   int itemsRemain = 0;
   /* we got a validated client, process packets from the
@@ -264,7 +266,7 @@
     }
 
   //Create PkgClient obj and open new connection
-  PkgTcpClient* connToServer = new PkgTcpClient(ipOrHostname, port);
+  PkgTcpClient* connToServer = new PkgTcpClient(ipOrHostname, port, NULL);
 
   if (!connToServer->hasGoodConnection())
     {


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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to