aboutsummaryrefslogtreecommitdiff
path: root/base85.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-31 00:09:26 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-31 00:09:26 -0700
commit8e29f903eb366b2d2e846dc35ec4510d2cb263ad (patch)
tree7b44b7c344f1dae36365d42e6164fc112849fded /base85.c
parenta192a909c0cdb8ea09b6513c4839fd6762989cb1 (diff)
parent17014090036b9b996707dfca5af69f1e87bd2315 (diff)
downloadgit-8e29f903eb366b2d2e846dc35ec4510d2cb263ad.tar.xz
Merge branch 'maint-1.5.1' into maint
* maint-1.5.1: git-config: Improve documentation of git-config file handling git-config: Various small fixes to asciidoc documentation decode_85(): fix missing return. fix signed range problems with hex conversions
Diffstat (limited to 'base85.c')
-rw-r--r--base85.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base85.c b/base85.c
index a6c41d597a..b88270f908 100644
--- a/base85.c
+++ b/base85.c
@@ -66,7 +66,7 @@ int decode_85(char *dst, const char *buffer, int len)
*/
if (0x03030303 < acc ||
0xffffffff - de < (acc *= 85))
- error("invalid base85 sequence %.5s", buffer-5);
+ return error("invalid base85 sequence %.5s", buffer-5);
acc += de;
say1(" %08x", acc);