summaryrefslogtreecommitdiff
path: root/base85.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-08-12 23:43:06 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-14 15:01:58 -0700
commit4c7517c9cc7cfc7961a5c31d7539a71f35fae2c2 (patch)
tree20ba9e36433c54f189302009cae318a60e0a79fb /base85.c
parentba845b755078a043312119609c1ddd7406b20979 (diff)
downloadgit-4c7517c9cc7cfc7961a5c31d7539a71f35fae2c2.tar.gz
Increment num_attr in parse_attr_line(), not parse_attr()
num_attr is incremented iff parse_attr() returns non-NULL. So do the counting in parse_attr_line() instead of within parse_attr(). This allows an integer rather than a pointer to an integer to be passed to parse_attr(). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'base85.c')
0 files changed, 0 insertions, 0 deletions