Tweaks to various debug messages.

This commit is contained in:
Thulinma 2014-06-08 00:37:50 +02:00
parent 19e73019fe
commit 1df896d6d1
3 changed files with 3 additions and 3 deletions

View file

@ -541,7 +541,7 @@ unsigned int Socket::Connection::iwrite(const void * buffer, int len){
return 0;
break;
default:
if (errno != EPIPE){
if (errno != EPIPE && errno != ECONNRESET){
Error = true;
remotehost = strerror(errno);
DEBUG_MSG(DLVL_WARN, "Could not iwrite data! Error: %s", remotehost.c_str());