From 8f19976a880b4ebd40281e0d86161a69101d3345 Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Thu, 2 Jul 2009 15:33:36 +0000 Subject: [PATCH] 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 --- src/mod/applications/mod_curl/mod_curl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mod/applications/mod_curl/mod_curl.c b/src/mod/applications/mod_curl/mod_curl.c index 591df62d02..b9ec499df0 100755 --- a/src/mod/applications/mod_curl/mod_curl.c +++ b/src/mod/applications/mod_curl/mod_curl.c @@ -339,7 +339,6 @@ SWITCH_STANDARD_API(curl_function) if (do_json) { stream->write_function(stream, "%s", print_json(pool, http_data)); } else { - stream->write_function(stream, "%ld\n", http_data->http_response_code); if(do_headers) { slist = http_data->headers; while(slist) {