Commit b81639cf authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: This is weird, but marquee does not seem to handle base64 with new lines

parent 630b6353
...@@ -258,7 +258,7 @@ xmlrpc_serialize_base64_data (xmlrpc_env *env, ...@@ -258,7 +258,7 @@ xmlrpc_serialize_base64_data (xmlrpc_env *env,
size_t size; size_t size;
/* Encode the data. */ /* Encode the data. */
encoded = xmlrpc_base64_encode(env, data, len); encoded = xmlrpc_base64_encode_without_newlines(env, data, len);
XMLRPC_FAIL_IF_FAULT(env); XMLRPC_FAIL_IF_FAULT(env);
contents = XMLRPC_TYPED_MEM_BLOCK_CONTENTS(unsigned char, encoded); contents = XMLRPC_TYPED_MEM_BLOCK_CONTENTS(unsigned char, encoded);
size = XMLRPC_TYPED_MEM_BLOCK_SIZE(unsigned char, encoded); size = XMLRPC_TYPED_MEM_BLOCK_SIZE(unsigned char, encoded);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment