summaryrefslogtreecommitdiff
path: root/src/lib/tpm.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-08-13 12:35:13 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-08-13 12:35:13 +0000
commitd0113a95a08d2d7271cfdb1774bd9ef4f12a784a (patch)
tree4660fa2f05279cf5388ca2b4eb07f67d5c452ea1 /src/lib/tpm.c
parent0f333a2515237a1f65785ff5e9f54efba7737362 (diff)
parent65f5aa30dc5cb6a284785835b0b14e5b19dfaa9a (diff)
downloadouroboros-d0113a95a08d2d7271cfdb1774bd9ef4f12a784a.tar.gz
ouroboros-d0113a95a08d2d7271cfdb1774bd9ef4f12a784a.zip
Merged in dstaesse/ouroboros/be-lib-fixes (pull request #551)
Be lib fixes
Diffstat (limited to 'src/lib/tpm.c')
-rw-r--r--src/lib/tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tpm.c b/src/lib/tpm.c
index f45744ee..31bb8a7f 100644
--- a/src/lib/tpm.c
+++ b/src/lib/tpm.c
@@ -161,7 +161,7 @@ static void * tpmgr(void * o)
list_add(&e->next, &tpm.pool);
}
- tpm.cur += tpm.inc;
+ tpm.cur += i;
}
if (pthread_cond_timedwait(&tpm.cond, &tpm.lock, &dl)