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

Fixed bug in last commt.

parent 9ad7007a
No related branches found
No related tags found
No related merge requests found
......@@ -279,9 +279,8 @@ int recv_byte(void* unused, unsigned timeout)
if(stdio)
i=read(STDIN_FILENO,&ch,sizeof(ch));
else
#else
i=recv(sock,&ch,sizeof(ch),0);
#endif
i=recv(sock,&ch,sizeof(ch),0);
if(i!=sizeof(ch)) {
if(i==0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment