From 9feb1b4bedc856baed5a7ffce3866dec3f801e9b Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Fri, 5 Feb 2010 16:03:29 +0000 Subject: Misc (#1018): * httpdemo: make the 2nd parameter (output filename) optional (result will be printed to stdout if output file is not provided. * remove trailing "\n" from PJ_LOG. * change response.status_code from pj_str_t to pj_uint16_t. * remove PJ_EPENDING status checking from on_complete. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3089 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib-util/include/pjlib-util/http_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjlib-util/include') diff --git a/pjlib-util/include/pjlib-util/http_client.h b/pjlib-util/include/pjlib-util/http_client.h index 9c4e6da9..bcd6e425 100644 --- a/pjlib-util/include/pjlib-util/http_client.h +++ b/pjlib-util/include/pjlib-util/http_client.h @@ -133,7 +133,7 @@ typedef struct pj_http_req_param typedef struct pj_http_resp { pj_str_t version; /**< HTTP version of the server */ - pj_str_t status_code; /**< Status code of the request */ + pj_uint16_t status_code; /**< Status code of the request */ pj_str_t reason; /**< Reason phrase */ pj_http_headers headers; /**< Response headers */ /** -- cgit v1.2.3