summaryrefslogtreecommitdiff
path: root/lib/libalpm/sha2.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-12 21:25:58 -0400
committerDan McGee <dan@archlinux.org>2011-09-28 10:17:15 -0500
commitbcc6a5d72df3cb3ee9f3d2347526c3dc03d5f55a (patch)
tree6588c75a79d7e7a78137b9efae58bbcb4d8c4a8c /lib/libalpm/sha2.c
parent1b8bb7c1cd81c1f8f0dcffc952cd464b6a436f06 (diff)
Table format creation code cleanup
Better scoping of variables for the most part, and ensure we are using string_length() and not strlen() as appropriate. Also refactor the longest cell code to call string_length() a lot less; by simply using an array of max sizes we don't have to recompute values nearly as much. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sha2.c')
0 files changed, 0 insertions, 0 deletions