summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pjlib/src/pj/ip_helper_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/ip_helper_win32.c b/pjlib/src/pj/ip_helper_win32.c
index d5cc9690..cb63adb8 100644
--- a/pjlib/src/pj/ip_helper_win32.c
+++ b/pjlib/src/pj/ip_helper_win32.c
@@ -220,7 +220,7 @@ static pj_status_t enum_ipv4_interface(unsigned *p_cnt,
(*p_cnt)++;
}
- return PJ_SUCCESS;
+ return (*p_cnt) ? PJ_SUCCESS : PJ_ENOTFOUND;
}