]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't print response code for plain output, if you want
authorRupa Schomaker <rupa@rupa.com>
Thu, 2 Jul 2009 15:33:36 +0000 (15:33 +0000)
committerRupa Schomaker <rupa@rupa.com>
Thu, 2 Jul 2009 15:33:36 +0000 (15:33 +0000)
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

index 591df62d029abc151fc22c0a2f631538b5ebd421..b9ec499df064efcc16c735d448d1127d72ebae48 100755 (executable)
@@ -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) {