fix windows sc_cond

This commit is contained in:
tezc 2021-04-14 23:30:54 +03:00
parent 13a8284383
commit e39a8fb2d2

View File

@ -46,12 +46,12 @@ int sc_cond_init(struct sc_cond *c)
int sc_cond_term(struct sc_cond *c)
{
if (!c.init) {
if (!c->init) {
return 0;
}
DeleteCriticalSection(&c->mtx);
c.init = false;
c->init = false;
return 0;
}