]> git.ipfire.org Git - thirdparty/git.git/commit - zlib.c
zlib wrapper: refactor error message formatter
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Jun 2011 17:31:34 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Jun 2011 17:31:34 +0000 (10:31 -0700)
commit1a507fc1121865009fd961ef08cb03700650cbd4
tree860f0ffda7a5cdf47f5abac353fe1added326d1b
parente5af0de202e885b793482d416b8ce9d50dd2b8bc
zlib wrapper: refactor error message formatter

Before refactoring the main part of the wrappers, first move the
logic to convert error status that come back from zlib to string
to a helper function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
zlib.c