From: Michael Wallner Date: Mon, 21 Jan 2013 22:39:43 +0000 (+0100) Subject: fix missing return X-Git-Tag: v0.1.0~43 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1022b014e0764d7cd3fe57301b24c50fd325ae4f;p=m6w6%2Fext-pq fix missing return --- diff --git a/src/php_pq.c b/src/php_pq.c index eb9bac1..20182c2 100644 --- a/src/php_pq.c +++ b/src/php_pq.c @@ -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)); }