From: Adam Dickmeiss Date: Fri, 19 Apr 2002 20:03:47 +0000 (+0000) Subject: fix warning X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~560 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ad3b2bf43ae55ce49140184aef8cce5d5dc2b7a;p=php fix warning --- diff --git a/ext/yaz/php_yaz.c b/ext/yaz/php_yaz.c index 09a4835b98..ba7e0464be 100644 --- a/ext/yaz/php_yaz.c +++ b/ext/yaz/php_yaz.c @@ -798,7 +798,8 @@ static int send_search (Yaz_Association t) static int send_sort_present (Yaz_Association t) { if (!send_sort(t)) - send_present (t); + return send_present (t); + return 1; } static int send_present (Yaz_Association t)