|
From: <bra...@us...> - 2003-06-05 20:51:02
|
Update of /cvsroot/csp/APPLICATIONS/Networking
In directory sc8-pr-cvs1:/tmp/cvs-serv3708
Modified Files:
NetworkingClass.cpp
Log Message:
The destructor was sending out packets to the other side with the disconnect message, but it was using the 2 parameter disconnect function (using 0 as the message) which is incorrect. Changed it over to the 1 parameter disconnect function.
Index: NetworkingClass.cpp
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/Networking/NetworkingClass.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** NetworkingClass.cpp 5 Jun 2003 20:43:22 -0000 1.2
--- NetworkingClass.cpp 5 Jun 2003 20:50:58 -0000 1.3
***************
*** 32,36 ****
for(Counter = 0; Counter < p_Connect.size(); Counter++)
{
! Disconnect(p_Connect[Counter].connectionid, 0);
}
--- 32,36 ----
for(Counter = 0; Counter < p_Connect.size(); Counter++)
{
! Disconnect(p_Connect[Counter].connectionid);
}
|