diff options
author | Liong Sauw Ming <ming@teluu.com> | 2010-02-05 16:03:29 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2010-02-05 16:03:29 +0000 |
commit | 9feb1b4bedc856baed5a7ffce3866dec3f801e9b (patch) | |
tree | f159f932f6111a8f6940431fe59fff858de490ff /pjlib-util/include | |
parent | f3ed1c64b067688cd1ce7226fde47ea06b7021ce (diff) |
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
Diffstat (limited to 'pjlib-util/include')
-rw-r--r-- | pjlib-util/include/pjlib-util/http_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ /** |