diff --git a/src/pgsql.c b/src/pgsql.c index 511d02a..f618e7e 100644 --- a/src/pgsql.c +++ b/src/pgsql.c @@ -726,7 +726,7 @@ pgsql_read_result(struct kore_pgsql *pgsql) if (saved_errno != EAGAIN && saved_errno != EWOULDBLOCK) continue; pgsql->state = KORE_PGSQL_STATE_WAIT; - conn->evt.flags &= ~KORE_EVENT_READ; + conn->evt.flags &= ~KORE_EVENT_READ; return; }