projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
[citadel.git]
/
libcitadel
/
lib
/
stringbuf.c
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 134ff47794a32e8790522a25d75a3e80b1bff960..0340ce4d44fb51e6edd50578e5d31c3a90eef890 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-2827,7
+2827,7
@@
int StrBufDecodeBase64To(const StrBuf *BufIn, StrBuf *BufOut)
return -1;
if (BufOut->BufSize < BufIn->BufUsed)
- IncreaseBuf(BufOut,
BufIn->BufUsed, 0
);
+ IncreaseBuf(BufOut,
0, BufIn->BufUsed
);
BufOut->BufUsed = CtdlDecodeBase64(BufOut->buf,
BufIn->buf,