mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(daemon) #1503: tr-remote debug prints wrong rpc post data
This commit is contained in:
parent
06b80ebc0e
commit
cf752710b2
1 changed files with 1 additions and 1 deletions
|
@ -1127,7 +1127,7 @@ processRequests( const char * host,
|
|||
CURLcode res;
|
||||
curl_easy_setopt( curl, CURLOPT_POSTFIELDS, reqs[i] );
|
||||
if( debug )
|
||||
fprintf( stderr, "posting [%s]\n", reqs[i] );
|
||||
fprintf( stderr, "posting:\n--------\n%s\n--------\n", reqs[i] );
|
||||
if( ( res = curl_easy_perform( curl ) ) )
|
||||
tr_nerr( MY_NAME, "(%s:%d) %s", host, port,
|
||||
curl_easy_strerror( res ) );
|
||||
|
|
Loading…
Reference in a new issue