aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--javascript/olm_post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/olm_post.js b/javascript/olm_post.js
index 752279a..fd74122 100644
--- a/javascript/olm_post.js
+++ b/javascript/olm_post.js
@@ -354,7 +354,7 @@ Session.prototype['encrypt'] = restore_stack(function(
Session.prototype['decrypt'] = restore_stack(function(
message_type, message
) {
- var message_buffer, plaintext_buffer, max_pliantext_length;
+ var message_buffer, plaintext_buffer, max_plaintext_length;
try {
message_buffer = malloc(message.length);