Merge pull request #322 in FS/freeswitch from ~MISHEHU/freeswitch:bugfix/FS-7429-mod_curl-json-response to master
* commit '8ca2cfa574fa453d094356e5905a2a2bc61dc999': FS-7429: fix to output proper json
This commit is contained in:
commit
4582498b5e
|
@ -269,7 +269,7 @@ static http_data_t *do_lookup_url(switch_memory_pool_t *pool, const char *url, c
|
|||
static char *print_json(switch_memory_pool_t *pool, http_data_t *http_data)
|
||||
{
|
||||
cJSON *top = cJSON_CreateObject(),
|
||||
*headers = cJSON_CreateObject();
|
||||
*headers = cJSON_CreateArray();
|
||||
char *data = NULL;
|
||||
char tmp[32], *f = NULL;
|
||||
switch_curl_slist_t *header = http_data->headers;
|
||||
|
|
Loading…
Reference in New Issue