[Sphere-axis-commits] CVS: Axis/AxisLib AxisServerInterface.cpp,1.4,1.5
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2003-06-19 21:38:31
|
Update of /cvsroot/sphere-axis/Axis/AxisLib In directory sc8-pr-cvs1:/tmp/cvs-serv30029/AxisLib Modified Files: AxisServerInterface.cpp Log Message: no message Index: AxisServerInterface.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/AxisLib/AxisServerInterface.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** AxisServerInterface.cpp 18 Jun 2003 22:45:25 -0000 1.4 --- AxisServerInterface.cpp 19 Jun 2003 21:38:29 -0000 1.5 *************** *** 385,388 **** --- 385,389 ---- } iLength = atoi((char*)szBuffer); + TRACE(_T("The incoming file has a length of %ld.\n"), iLength); if ( m_pProgress ) m_pProgress->SetRange(0, (ULONG) iLength); *************** *** 416,420 **** } iRead += rc; ! sMessage.Format(_T(IDS_REMOTE_RCVFILE), iRead, iLength, (TCHAR*)remoteFile); if ( m_pProgress ) { --- 417,421 ---- } iRead += rc; ! sMessage.Format(_T(IDS_REMOTE_RCVFILE), iRead, iLength, sRemote); if ( m_pProgress ) { *************** *** 425,428 **** --- 426,430 ---- char szAck[MAX_BUFFER]; sprintf(szAck, "%ld", rc); + TRACE(_T("Sending ack (%ld).\n"), rc); if ( Send((BYTE*)&szAck[0], (ULONG) strlen((char*)&szAck[0])) <= 0 ) { |