MINOR: buffer: rename the data length member to '->data'
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Jul 2018 08:43:27 +0000 (10:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:43 +0000 (16:23 +0200)
commitbd1dba8a89bd22cd04c09422e333b2c648cb1b41
tree5a7381414f9311603117f316c555c92deb19bd30
parente3128024bf3800333d9d7cf59706049233a103cc
MINOR: buffer: rename the data length member to '->data'

It used to be called 'len' during the reorganisation but strictly speaking
it's not a length since it wraps. Also we already use '_data' as the suffix
to count available data, and data is also what we use to indicate the amount
of data in a pipe so let's improve consistency here. It was important to do
this in two operations because data used to be the name of the pointer to
the storage area.
include/common/buf.h
include/common/istbuf.h
include/proto/channel.h