summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/src/pj/ip_helper_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/ip_helper_generic.c b/pjlib/src/pj/ip_helper_generic.c
index bd92192d..0adefebb 100644
--- a/pjlib/src/pj/ip_helper_generic.c
+++ b/pjlib/src/pj/ip_helper_generic.c
@@ -189,7 +189,7 @@ static pj_status_t if_enum_by_af(int af,
continue;
}
- if ((rc=ioctl(sock, SIOCGIFFLAGS, &iff)) != 0) {
+ if (ioctl(sock, SIOCGIFFLAGS, &iff) != 0) {
TRACE_((THIS_FILE, " ioctl(SIOCGIFFLAGS) failed: %s",
get_os_errmsg()));
continue; /* Failed to get flags, continue */