From e6e93c09abfd33de8e80402f54b4dda48550bcad Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 18 Oct 2017 07:19:43 -0700 Subject: [PATCH] oops: use the right length --- xwords4/linux/relaycon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/linux/relaycon.c b/xwords4/linux/relaycon.c index 937604c5f..3f3364f74 100644 --- a/xwords4/linux/relaycon.c +++ b/xwords4/linux/relaycon.c @@ -492,7 +492,7 @@ post( RelayConStorage* storage, const XP_U8* msgbuf, XP_U16 len ) const char* str = json_object_get_string( datum ); gsize out_len; guchar* buf = g_base64_decode( (const gchar*)str, &out_len ); - process( storage, buf, len ); + process( storage, buf, out_len ); g_free( buf ); } (void)json_object_put( replyData );