Add check_new_and_strlen(), which is check_new(...) && total_size += strlen(...)
authorNicholas Clark <nick@ccl4.org>
Sun, 17 Apr 2011 15:12:04 +0000 (16:12 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 17 Apr 2011 15:12:04 +0000 (16:12 +0100)
commit99684fd48d5c973a540a71895a2210d7758c5981
tree8a44de24f9ed8d17d27be62b8fc49e13ccb9eac3
parente5c69bdd973a9534e92dc99f49cb497a14b1da50
Add check_new_and_strlen(), which is check_new(...) && total_size += strlen(...)

This removes an oft-repeated pattern.
Size.xs