summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/ip_helper_symbian.cpp
diff options
context:
space:
mode:
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);
}
/*