chiark / gitweb /
buffers: Rename buffer_if.len to buffer_if.alloclen.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Sep 2014 23:05:19 +0000 (00:05 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Sep 2014 23:07:22 +0000 (00:07 +0100)
commit100683441c5b1445a8d6c970aea6c7fa92e974e0
tree2543197d53c8d96bceaca3e066f23419112f05f0
parent927950400bd569326c3babf4e29038523fa464a6
buffers: Rename buffer_if.len to buffer_if.alloclen.

This field contains the total amount of space allocated, starting at
base, which may be less than the amount of space available after
start.

Rename it to help avoid confusion.  This also enabled me to review
every site where this variable was used to verify that the length
checks are all now correct.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
secnet.h
util.c
util.h