aboutsummaryrefslogtreecommitdiff
path: root/src/pickle_encoding.c
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-10-24 10:43:43 +0100
committerGitHub <noreply@github.com>2016-10-24 10:43:43 +0100
commitd8136096c045c08b6348d28ad423dec567fa4d7d (patch)
treed8c8d3894543ee95224a92c519ecdd5c3f6902e3 /src/pickle_encoding.c
parent8de0f1fbb3df0adf8dd8e9db1099eacc0edfecc9 (diff)
parenta7310c5821513d5c5b0609ec506dad1ae51603d3 (diff)
Merge pull request #33 from matrix-org/rav/pickle_length
Return the base64-encoded length of pickles
Diffstat (limited to 'src/pickle_encoding.c')
-rw-r--r--src/pickle_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pickle_encoding.c b/src/pickle_encoding.c
index 5d5f8d7..a56e9e3 100644
--- a/src/pickle_encoding.c
+++ b/src/pickle_encoding.c
@@ -60,7 +60,7 @@ size_t _olm_enc_output(
raw_output, length
);
_olm_encode_base64(raw_output, length, output);
- return raw_length;
+ return base64_length;
}