summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/ip_helper_symbian.cpp
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-12-02 15:36:46 +0000
committerBenny Prijono <bennylp@teluu.com>2007-12-02 15:36:46 +0000
commitb49338ee972a66fb6e5ece4b97440d0c3cfa642b (patch)
tree0a3df788f90101bd04b667021eac514355f22b1f /pjlib/src/pj/ip_helper_symbian.cpp
parentea951533e9d970b9fd9d98b34081f568679d9bfc (diff)
More ticket #415: Added pj_sockaddr_get_len() and pj_inet_ntop2(), and fixed Symbian combilation warnings with gcce
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1608 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/ip_helper_symbian.cpp')
-rw-r--r--pjlib/src/pj/ip_helper_symbian.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/pjlib/src/pj/ip_helper_symbian.cpp b/pjlib/src/pj/ip_helper_symbian.cpp
index 3cd2ebfd..44b8012c 100644
--- a/pjlib/src/pj/ip_helper_symbian.cpp
+++ b/pjlib/src/pj/ip_helper_symbian.cpp
@@ -59,7 +59,7 @@ static pj_status_t rsock_enum_interface(int af,
TInetAddr &iAddress = info().iAddress;
int namelen;
- if (iAddress.Family() != af) {
+ if (iAddress.Family() != (unsigned)af) {
continue;
}
@@ -76,11 +76,6 @@ static pj_status_t rsock_enum_interface(int af,
*p_cnt = i;
return PJ_SUCCESS;
-
-on_error:
- rSock.Close();
- *p_cnt = 0;
- return PJ_RETURN_OS_ERROR(rc);
}
/*