Decrease priority of fishd debug message

darcs-hash:20061022160329-ac50b-5f35fe90f6be184f02fc6514fc6047b25e4f93c3.gz
This commit is contained in:
axel 2006-10-23 02:03:29 +10:00
parent 287ab597ca
commit 86b7023536

View file

@ -361,7 +361,8 @@ void read_message( connection_t *src )
case ENV_UNIVERSAL_ERROR:
{
debug( 2, L"Read error on fd %d, set killme flag", src->fd );
wperror( L"read" );
if( debug_level > 2 )
wperror( L"read" );
src->killme = 1;
return;
}
@ -579,10 +580,11 @@ static int try_send( message_t *msg,
return 0;
default:
debug( 0,
debug( 2,
L"Error while sending universal variable message to fd %d. Closing connection",
fd );
wperror( L"write" );
if( debug_level > 2 )
wperror( L"write" );
return -1;
}