1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(daemon) #1503: tr-remote debug prints wrong rpc post data

This commit is contained in:
Charles Kerr 2008-11-23 15:38:44 +00:00
parent 06b80ebc0e
commit cf752710b2

View file

@ -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 ) );