(daemon) #1503: tr-remote debug prints wrong rpc post & response data
This commit is contained in:
parent
e99e3243a0
commit
1d6710d150
|
@ -1058,7 +1058,7 @@ processResponse( const char * host,
|
||||||
tr_benc top;
|
tr_benc top;
|
||||||
|
|
||||||
if( debug )
|
if( debug )
|
||||||
fprintf( stderr, "got response: [%*.*s]\n",
|
fprintf( stderr, "got response:\n--------\n%*.*s\n--------\n",
|
||||||
(int)len, (int)len, (const char*) response );
|
(int)len, (int)len, (const char*) response );
|
||||||
|
|
||||||
if( tr_jsonParse( response, len, &top, NULL ) )
|
if( tr_jsonParse( response, len, &top, NULL ) )
|
||||||
|
|
Loading…
Reference in New Issue