1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(trunk libT) don't escape the '/' character in json strings

This commit is contained in:
Charles Kerr 2010-04-25 15:30:50 +00:00
parent c4d76cd8d0
commit 9c94512672

View file

@ -1358,7 +1358,6 @@ jsonStringFunc( const tr_benc * val, void * vdata )
{
switch( *it )
{
case '/': evbuffer_add( data->out, "\\/", 2 ); break;
case '\b': evbuffer_add( data->out, "\\b", 2 ); break;
case '\f': evbuffer_add( data->out, "\\f", 2 ); break;
case '\n': evbuffer_add( data->out, "\\n", 2 ); break;