Error disabled in server.

This commit is contained in:
serverericoza 2010-06-08 16:52:22 +02:00
parent f818ee1e0d
commit 966608bb5e

View file

@ -66,7 +66,7 @@ int main( int argc, char * argv[] ) {
std::cout << "Total message read!\n";
if (mySocket) {
std::cout << " mySocket: " << mySocket << "\n";
if ( mySocket->fsend(&all_buffers[current_buffer][0], position_current) == -1) {
if ( mySocket->fsend(&all_buffers[current_buffer][0], position_current, &BError) == -1) {
mySocket->disconnect();
mySocket->close_fd();
std::cout << "Disconnected, closed..." << "\n";