summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/ooh323cDriver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/ooh323cDriver.c b/addons/ooh323cDriver.c
index e2533fa6e..21a733e2b 100644
--- a/addons/ooh323cDriver.c
+++ b/addons/ooh323cDriver.c
@@ -114,7 +114,7 @@ void* ooh323c_call_thread(void* dummy)
ast_mutex_unlock(&mycthread->lock);
ast_mutex_unlock(&callThreadsLock);
- } while (mycthread->call != NULL && res == 0);
+ } while (mycthread->call != NULL && res >= 0);
ast_mutex_destroy(&mycthread->lock);