Removed debug information.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10866 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Eric des Courtis 2008-12-18 00:31:07 +00:00
parent 9c0f8adad6
commit 988c34b019

View File

@ -308,29 +308,6 @@ int http_parse_response(char *buf, ssize_t buf_len, http_response_t *response)
sm.buf = buf;
sm.buf_len = buf_len;
fprintf(
stderr,
"ERRORS\n"
"VERSION = %d\n"
"STATUS_CODE = %d\n"
"PHRASE = %d\n"
"HEADER = %d\n"
"NEWLINE = %d\n"
"SYNTAX_ERROR = %d\n",
VERSION,
STATUS_CODE,
PHRASE,
HEADER,
NEWLINE,
SYNTAX_ERROR
);
fprintf(
stderr,
"buf = \"%s\"\n",
buf
);
pos = sm.pos;
token = get_next_token(&sm);
if(token != VERSION){
@ -403,12 +380,6 @@ int http_parse_response(char *buf, ssize_t buf_len, http_response_t *response)
if(token != HEADER && token != PHRASE && token != STATUS_CODE) break;
}while(token != SYNTAX_ERROR);
fprintf(
stderr,
"HEADERS = %d\n",
nt
);
if(nt != 0){
response->headers = (http_header_t *)malloc(sizeof(http_header_t)*nt);
if(response->headers == NULL){