summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-06-14 16:36:23 +0200
committerJeremy Allison <jra@samba.org>2020-06-15 17:59:38 +0000
commitb654f2565b0ffca56c13ff24000f8c606253011e (patch)
tree58da0a11a4d629126a1b91d7775466fdbf9448de /lib
parent86008f5e6f28d7c9d756ddf25f7aaf119378b52e (diff)
downloadsamba-b654f2565b0ffca56c13ff24000f8c606253011e.tar.gz
tsocket: Fix a typo
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/tsocket/tsocket_guide.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsocket/tsocket_guide.txt b/lib/tsocket/tsocket_guide.txt
index 45e20b5103a..9a96b0432bd 100644
--- a/lib/tsocket/tsocket_guide.txt
+++ b/lib/tsocket/tsocket_guide.txt
@@ -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);