Skip to content
Snippets Groups Projects
Commit b2d83478 authored by rswindell's avatar rswindell
Browse files

Fixed warnings (one serious).

parent 34a91e60
No related branches found
No related tags found
No related merge requests found
......@@ -579,7 +579,7 @@ int send_byte(void* unused, uchar ch, unsigned timeout)
result=WaitForEvent(outbuf_empty,timeout*1000);
fprintf(statfp,"\b\b\b\b \b\b\b\b");
if(result!=WAIT_OBJECT_0) {
fprintf(LOG_INFO
lprintf(LOG_INFO
,"\n!TIMEOUT (%d) waiting for output buffer to flush (%u seconds, %u bytes)\n"
,result, timeout, RingBufFull(&outbuf));
newline=TRUE;
......@@ -746,8 +746,6 @@ BOOL is_connected(void* unused)
BOOL data_waiting(void* unused, unsigned timeout)
{
BOOL rd;
if(recv_buffer(timeout) > 0)
return TRUE;
return FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment