Changeset 1623 for box/chris/merge/bin/bbackupquery/BackupQueries.cpp
- Timestamp:
- 29/04/2007 22:31:14 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/chris/merge/bin/bbackupquery/BackupQueries.cpp
r1622 r1623 1696 1696 } 1697 1697 1698 // Must always read the entire decoded str ing, if it's not a symlink1698 // Must always read the entire decoded stream, if it's not a symlink 1699 1699 if(fileOnServerStream->StreamDataLeft()) 1700 1700 { … … 1704 1704 { 1705 1705 fileOnServerStream->Read(buffer, sizeof(buffer), mrConnection.GetTimeout()); 1706 } 1707 } 1708 1709 // Must always read the entire encoded stream 1710 if(objectStream->StreamDataLeft()) 1711 { 1712 // Absorb all the data remaining 1713 char buffer[2048]; 1714 while(objectStream->StreamDataLeft()) 1715 { 1716 objectStream->Read(buffer, sizeof(buffer), mrConnection.GetTimeout()); 1706 1717 } 1707 1718 }
Note: See TracChangeset
for help on using the changeset viewer.
