Skip to content

Commit 19697a0

Browse files
committed
Expanded comment to better explain relationship between in_buf, next_in and avail_in
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 670d8cf commit 19697a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcfnet/file_stream.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ static bool ProtocolSendError(SSL *conn, bool flush, const char *fmt, ...)
348348
*
349349
* After a job iteration:
350350
* - the 'next_in' attribute will point to the byte after the last one
351-
* consumed.
351+
* consumed from 'in_buf'.
352352
* - the 'avail_in' attribute will contain the number of remaining/unconsumed
353-
* bytes.
353+
* bytes in 'in_buf'.
354354
*
355355
* @param bufs The RS buffers
356356
* @param in_buf The input buffer

0 commit comments

Comments
 (0)