1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

tsocket: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2020-06-14 16:36:23 +02:00 committed by Jeremy Allison
parent 86008f5e6f
commit b654f2565b

View File

@ -128,7 +128,7 @@ functions similar to the readv(2)/writev(2)/close(2) syscalls.
The tstream_pending_bytes() function is able to report how many bytes of
the incoming stream have been received but have not been consumed yet.
It returns -1 and sets 'errno' on failure.
Otherwise it returns the number of uncomsumed bytes (it can return 0!).
Otherwise it returns the number of unconsumed bytes (it can return 0!).
ssize_t tstream_pending_bytes(struct tstream_context *stream);