don't print response code for plain output, if you want

status use headers or json


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14114 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Rupa Schomaker 2009-07-02 15:33:36 +00:00
parent 8e6dc2967b
commit 8f19976a88
1 changed files with 0 additions and 1 deletions

View File

@ -339,7 +339,6 @@ SWITCH_STANDARD_API(curl_function)
if (do_json) { if (do_json) {
stream->write_function(stream, "%s", print_json(pool, http_data)); stream->write_function(stream, "%s", print_json(pool, http_data));
} else { } else {
stream->write_function(stream, "%ld\n", http_data->http_response_code);
if(do_headers) { if(do_headers) {
slist = http_data->headers; slist = http_data->headers;
while(slist) { while(slist) {