diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-10-18 01:40:44 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-10-18 01:40:44 +0000 |
commit | 3637441215214b0fb79b6b1fa4a1fe62cd89e8a6 (patch) | |
tree | 87b104b7f711ded556ab9f76a08dc6cb0627673f /pjsip-apps/src | |
parent | 79a32c01edfdf7fef451d4d5564eb6623597acd6 (diff) |
Updated VS2005 and eVC projects with new base64 and AKA files
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1505 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src')
-rw-r--r-- | pjsip-apps/src/pjsua_wince/pjsua_wince.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp b/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp index 2cd98275..1e9bbb16 100644 --- a/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp +++ b/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp @@ -516,11 +516,8 @@ static ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass) /* Callback upon NAT detection completion */ -static void nat_detect_cb(void *user_data, - const pj_stun_nat_detect_result *res) +static void nat_detect_cb(const pj_stun_nat_detect_result *res) { - PJ_UNUSED_ARG(user_data); - if (res->status != PJ_SUCCESS) { char msg[250]; pj_ansi_snprintf(msg, sizeof(msg), "NAT detection failed: %s", @@ -568,7 +565,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) SetTimer(hMainWnd, ID_POLL_TIMER, 50, NULL); - pjsua_detect_nat_type(NULL, &nat_detect_cb); + pjsua_detect_nat_type(); return TRUE; } |