提交 06c60ea8 authored 作者: Michael Jerris's avatar Michael Jerris

type tweaks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2871 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9da136af
...@@ -256,7 +256,7 @@ static void do_invite(switch_core_session_t *session); ...@@ -256,7 +256,7 @@ static void do_invite(switch_core_session_t *session);
static uint8_t negotiate_sdp(switch_core_session_t *session, sdp_session_t *sdp); static uint8_t negotiate_sdp(switch_core_session_t *session, sdp_session_t *sdp);
static char *get_auth_data(char *dbname, char *nonce, char *npassword, uint32_t len, switch_mutex_t *mutex); static char *get_auth_data(char *dbname, char *nonce, char *npassword, size_t len, switch_mutex_t *mutex);
static void sip_i_state(int status, static void sip_i_state(int status,
char const *phrase, char const *phrase,
...@@ -308,7 +308,7 @@ typedef enum { ...@@ -308,7 +308,7 @@ typedef enum {
AUTH_STALE, AUTH_STALE,
} auth_res_t; } auth_res_t;
static auth_res_t parse_auth(sofia_profile_t *profile, sip_authorization_t const *authorization, char *regstr, char *np, uint32_t nplen) static auth_res_t parse_auth(sofia_profile_t *profile, sip_authorization_t const *authorization, char *regstr, char *np, size_t nplen)
{ {
int index; int index;
char *cur; char *cur;
...@@ -1772,7 +1772,7 @@ static void sip_i_state(int status, ...@@ -1772,7 +1772,7 @@ static void sip_i_state(int status,
} }
static char *get_auth_data(char *dbname, char *nonce, char *npassword, uint32_t len, switch_mutex_t *mutex) static char *get_auth_data(char *dbname, char *nonce, char *npassword, size_t len, switch_mutex_t *mutex)
{ {
switch_core_db_t *db; switch_core_db_t *db;
switch_core_db_stmt_t *stmt; switch_core_db_stmt_t *stmt;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论