Browse Source

base85: encode_85() does not use the decode table

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Andreas Gruenbacher 15 years ago committed by Junio C Hamano
parent
commit
b0bec518aa
  1. 2
      base85.c

2
base85.c

@ -84,8 +84,6 @@ int decode_85(char *dst, const char *buffer, int len)


void encode_85(char *buf, const unsigned char *data, int bytes) void encode_85(char *buf, const unsigned char *data, int bytes)
{ {
prep_base85();

say("encode 85"); say("encode 85");
while (bytes) { while (bytes) {
unsigned acc = 0; unsigned acc = 0;

Loading…
Cancel
Save