Remove an extra ast_cond_wait() that slipped through the patch.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@410606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/61/61/1
Mark Michelson 12 years ago
parent 0edf689519
commit 59ca55e7b7

@ -967,8 +967,6 @@ static void *db_sync_thread(void *data)
ast_cond_wait(&dbcond, &dblock);
}
dosync = 0;
/* We're ok with spurious wakeups, so we don't worry about a predicate */
ast_cond_wait(&dbcond, &dblock);
if (ast_db_commit_transaction()) {
ast_db_rollback_transaction();
}

Loading…
Cancel
Save