diff --git a/backends/twitter/libtwitcurl/twitcurl.cpp b/backends/twitter/libtwitcurl/twitcurl.cpp index b19e7860c95bf9674a659cc4b09ea180aef64a23..24de28531cfe29f8247ea1fa682cf4fd1004996c 100644 --- a/backends/twitter/libtwitcurl/twitcurl.cpp +++ b/backends/twitter/libtwitcurl/twitcurl.cpp @@ -1497,7 +1497,7 @@ bool twitCurl::performGet( const std::string& getUrl ) /* Set http request and url */ curl_easy_setopt( m_curlHandle, CURLOPT_HTTPGET, 1 ); -// curl_easy_setopt( m_curlHandle, CURLOPT_VERBOSE, 1 ); + curl_easy_setopt( m_curlHandle, CURLOPT_VERBOSE, 1 ); curl_easy_setopt( m_curlHandle, CURLOPT_URL, getUrl.c_str() ); /* Send http request */ @@ -1544,6 +1544,7 @@ bool twitCurl::performGet( const std::string& getUrl, const std::string& oAuthHt /* Set http request and url */ curl_easy_setopt( m_curlHandle, CURLOPT_HTTPGET, 1 ); + curl_easy_setopt( m_curlHandle, CURLOPT_VERBOSE, 1 ); curl_easy_setopt( m_curlHandle, CURLOPT_URL, getUrl.c_str() ); /* Set header */ @@ -1675,6 +1676,7 @@ bool twitCurl::performPost( const std::string& postUrl, std::string dataStr ) /* Set http request, url and data */ curl_easy_setopt( m_curlHandle, CURLOPT_POST, 1 ); + curl_easy_setopt( m_curlHandle, CURLOPT_VERBOSE, 1 ); curl_easy_setopt( m_curlHandle, CURLOPT_URL, postUrl.c_str() ); if( dataStr.length() ) {