From 7852452684372833f0267467b214830b7545be74 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 30 Mar 2006 20:55:20 +0000 Subject: Removed continuous warnings in handle_events in pjsua_core, and temporarily set default ioqueue in Linux to use select instead of epoll git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@369 74dad513-b988-da41-8d7b-12977e46ad98 --- configure | 3 ++- pjsip/src/pjsua-lib/pjsua_core.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index ec0a8720..e947ef4b 100755 --- a/configure +++ b/configure @@ -41,7 +41,8 @@ elif echo $SYSTEM | grep -i linux > /dev/null; then elif echo $KERNEL_VER | grep '^2\.0' > /dev/null; then LINUX_EPOLL=select else - LINUX_POLL=epoll +# LINUX_POLL=epoll + LINUX_POLL=select fi elif echo $SYSTEM | grep -i mingw > /dev/null; then OS_NAME=win32 diff --git a/pjsip/src/pjsua-lib/pjsua_core.c b/pjsip/src/pjsua-lib/pjsua_core.c index 1ff4fac2..496c3645 100644 --- a/pjsip/src/pjsua-lib/pjsua_core.c +++ b/pjsip/src/pjsua-lib/pjsua_core.c @@ -454,7 +454,7 @@ static int PJ_THREAD_FUNC pjsua_poll(void *arg) pj_status_t status; status = pjsip_endpt_handle_events (pjsua.endpt, &timeout); - if (status != last_err) { + if (status != PJ_SUCCESS && status != last_err) { last_err = status; pjsua_perror(THIS_FILE, "handle_events() returned error", status); } -- cgit v1.2.3