fix long reads (in some events of success, no TRUE was returned)

pull/1/head
dscho 20 years ago
parent 9a8a28c117
commit c641923d05

@ -1,3 +1,6 @@
2004-11-30 "Leiradella, Andre V Matos Da Cunha" <ANDRE.LEIRADELLA@bra.xerox.com>
* libvncclient/sockets.c: return TRUE in every case of success
2004-08-29 Karl Runge <runge@karlrunge.com>
* x11vnc: yet another pointer input handling algorithm in
check_user_input(), revert to previous with -old_pointer2.

@ -162,6 +162,7 @@ ReadFromRFBServer(rfbClient* client, char *out, unsigned int n)
out += i;
n -= i;
}
}
#ifdef DEBUG_READ_EXACT
hexdump:
@ -171,8 +172,8 @@ hexdump:
fprintf(stderr,"\n");
}
#endif
return TRUE;
}
}

Loading…
Cancel
Save