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 ) {