X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fimap.c;h=bb800827d5bdb044eefd348f00e33e1df66f009b;hb=a40508f4bb841bba5a1a33bb2d74cf8d8a68ba08;hp=3fc2e4fe88159b87c3ae786f3cb4c56c38270f1c;hpb=7ad7f1f4d17f79a198057067f13c993d39cf1868;p=dockapps%2Fwmnotify.git diff --git a/src/imap.c b/src/imap.c index 3fc2e4f..bb80082 100644 --- a/src/imap.c +++ b/src/imap.c @@ -67,11 +67,8 @@ IMAP4_ReceiveResponse( void ) get_packet: len = WmnotifyGetResponse( rx_buffer, WMNOTIFY_BUFSIZE ); - if( len < 0 ) { - /* An error occured. */ - perror( PACKAGE ); - ErrorLocation( __FILE__, __LINE__ ); + /* An error occured. WmnotifyGetResponse() should have printed an error message. */ goto error; } else if( len == 0 ) {