1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-27 12:24:52 +01:00

fix missing return

This commit is contained in:
Michael Wallner 2013-01-21 23:39:43 +01:00
parent 7f802ff719
commit 1022b014e0

View File

@ -977,6 +977,7 @@ static PHP_METHOD(pqconn, poll) {
if (obj->poller == PQconsumeInput) {
RETVAL_LONG(obj->poller(obj->conn) * PGRES_POLLING_OK);
php_pqconn_notify_listeners(getThis(), obj TSRMLS_CC);
return;
} else {
RETURN_LONG(obj->poller(obj->conn));
}