Code cleanup
This commit is contained in:
@@ -70,7 +70,7 @@ bool ClientSocketSender::sendFile(String &pathFileName)
|
||||
sendPutIndicator(pathFileName, fileLength);
|
||||
Array<char> readBuffer;
|
||||
readBuffer.size(BUFFER_LENGTH);
|
||||
std::cout << "Sending file " << pathFileName << Utility::byteCountToString(fileLength, false) << std::endl;
|
||||
std::cout << "Sending file " << pathFileName << " " << Utility::byteCountToString(fileLength, false) << std::endl;
|
||||
while(true)
|
||||
{
|
||||
size_t bytesRead = readFile.read(&readBuffer[0], readBuffer.size());
|
||||
|
||||
Reference in New Issue
Block a user