summaryrefslogtreecommitdiff
path: root/pjnath
diff options
context:
space:
mode:
Diffstat (limited to 'pjnath')
-rw-r--r--pjnath/build/Makefile2
-rw-r--r--pjnath/src/pjnath/ice_session.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/pjnath/build/Makefile b/pjnath/build/Makefile
index 2f265f17..7343d922 100644
--- a/pjnath/build/Makefile
+++ b/pjnath/build/Makefile
@@ -9,7 +9,7 @@ RULES_MAK := $(PJDIR)/build/rules.mak
PJLIB_LIB:=../../pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT)
PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT)
-PJNATH_LIB:=../../pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT)
+export PJNATH_LIB:=../lib/libpjnath-$(TARGET_NAME)$(LIBEXT)
###############################################################################
# Gather all flags.
diff --git a/pjnath/src/pjnath/ice_session.c b/pjnath/src/pjnath/ice_session.c
index d6811768..aa83fe24 100644
--- a/pjnath/src/pjnath/ice_session.c
+++ b/pjnath/src/pjnath/ice_session.c
@@ -1452,12 +1452,8 @@ static pj_status_t start_periodic_check(pj_timer_heap_t *th,
}
/* Cannot start check because there's no suitable candidate pair.
- * Set checklist state to Completed.
*/
- if (start_count==0) {
- clist_set_state(ice, clist, PJ_ICE_SESS_CHECKLIST_ST_COMPLETED);
-
- } else {
+ if (start_count!=0) {
/* Schedule for next timer */
pj_time_val timeout = {0, PJ_ICE_TA_VAL};