X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=base85.c;h=b88270f90844095b3d352cc4213cbebd95a7f420;hb=d1637a07f684acd80007723f94c4da9649d85525;hp=a6c41d597ab8eccb5eb2ccf2b3b543398c360b44;hpb=53a58245863eff3d70aaa3ac75d7d57e843fc91d;p=git.git diff --git a/base85.c b/base85.c index a6c41d597..b88270f90 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);