From 64c6612bf31dc3c76cb6e0d147ed6791e1567810 Mon Sep 17 00:00:00 2001 From: Edouard Tisserant Date: Wed, 8 Feb 2017 11:29:14 +0100 Subject: [PATCH] NeedFastPolling when timeout _value_ is not 0 --- src/org_pEp_jniadapter_AbstractEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org_pEp_jniadapter_AbstractEngine.cc b/src/org_pEp_jniadapter_AbstractEngine.cc index abf67f2..45f74f2 100644 --- a/src/org_pEp_jniadapter_AbstractEngine.cc +++ b/src/org_pEp_jniadapter_AbstractEngine.cc @@ -279,7 +279,7 @@ extern "C" { time_t now, end; void *msg; - jboolean needs_fast_poll = (timeout != NULL); + jboolean needs_fast_poll = (*timeout != 0); if(timeout && *timeout != 0){ now = time(NULL);