mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
oops: use the right length
This commit is contained in:
parent
c08be98fda
commit
e6e93c09ab
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ post( RelayConStorage* storage, const XP_U8* msgbuf, XP_U16 len )
|
||||||
const char* str = json_object_get_string( datum );
|
const char* str = json_object_get_string( datum );
|
||||||
gsize out_len;
|
gsize out_len;
|
||||||
guchar* buf = g_base64_decode( (const gchar*)str, &out_len );
|
guchar* buf = g_base64_decode( (const gchar*)str, &out_len );
|
||||||
process( storage, buf, len );
|
process( storage, buf, out_len );
|
||||||
g_free( buf );
|
g_free( buf );
|
||||||
}
|
}
|
||||||
(void)json_object_put( replyData );
|
(void)json_object_put( replyData );
|
||||||
|
|
Loading…
Add table
Reference in a new issue