Skip to content

Commit 6b5229c

Browse files
committed
fix decode fp
1 parent 65635d3 commit 6b5229c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

file.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,8 @@ base16384_err_t base16384_decode_fd(int input, int output, char* encbuf, char* d
275275
if((end = is_next_end_fd(input))) {
276276
decbuf[cnt++] = '=';
277277
decbuf[cnt++] = end;
278-
return base16384_err_ok;
279-
}
280-
end = 1;
278+
end = 0;
279+
} else end = 1;
281280
} else end = 0;
282281
cnt = base16384_decode(decbuf, cnt, encbuf, outputsize);
283282
if(write(output, encbuf, cnt) < cnt) {

0 commit comments

Comments
 (0)