Revision
14114
Author
rupa
Date
2009-07-02 10:33:36 -0500 (Thu, 02 Jul 2009)

Log Message

don't print response code for plain output, if you want
status use headers or json

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_curl/mod_curl.c (14113 => 14114)


--- freeswitch/trunk/src/mod/applications/mod_curl/mod_curl.c	2009-07-02 15:29:25 UTC (rev 14113)
+++ freeswitch/trunk/src/mod/applications/mod_curl/mod_curl.c	2009-07-02 15:33:36 UTC (rev 14114)
@@ -339,7 +339,6 @@
 		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) {