ldb: replacing length increments with constants in pack
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Tue, 21 May 2019 03:18:10 +0000 (15:18 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2019 04:42:28 +0000 (04:42 +0000)
commit5bf6f0ae3271cb1a24416523f1132b09d998adf3
treefd6893c329e5d7cfbd33200231668a383ad575dd
parentdf1f883204722a947c52497aaa79d75444a24b63
ldb: replacing length increments with constants in pack

Since we're about to introduce a new packing format, it's a good time to
improve our code style and change some magic numbers into explicit
constants.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/ldb/common/ldb_pack.c