mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
log outgoing params
This commit is contained in:
parent
35d172225f
commit
033ceab9d1
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ mkJsonParams( CURL* curl, va_list ap )
|
||||||
const char* asStr = json_object_get_string( params );
|
const char* asStr = json_object_get_string( params );
|
||||||
char* curl_params = curl_easy_escape( curl, asStr, strlen(asStr) );
|
char* curl_params = curl_easy_escape( curl, asStr, strlen(asStr) );
|
||||||
gchar* result = g_strdup_printf( "params=%s", curl_params );
|
gchar* result = g_strdup_printf( "params=%s", curl_params );
|
||||||
|
XP_LOGF( "%s: adding: params=%s (%s)", __func__, asStr, curl_params );
|
||||||
curl_free( curl_params );
|
curl_free( curl_params );
|
||||||
json_object_put( params );
|
json_object_put( params );
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue