]> arthur.barton.de Git - bup.git/commit
Defines/preprocessor lengths > magic numbers
authorBrandon Low <lostlogic@lostlogicx.com>
Thu, 17 Feb 2011 01:46:00 +0000 (17:46 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 17 Feb 2011 02:06:21 +0000 (18:06 -0800)
commit1a712829e96031ecefa93f372321b99bf20fcce9
tree824649b6c2073791f4cc64b5c8e5faaf7a01f69d
parente5af4412dc302292ab9bc9a4f688ee5fa6fb4ef3
Defines/preprocessor lengths > magic numbers

This just changes some instances of "8", "12" and "20" to use the
equivalent sizeof or #defined constants to make the code more readable.

Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
lib/bup/_helpers.c