summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Dickmeiss <dickmeiss@php.net>2002-04-19 20:39:27 +0000
committerAdam Dickmeiss <dickmeiss@php.net>2002-04-19 20:39:27 +0000
commitf193a2ca40e19cbe9e6a9131f9208e47eca9cfe2 (patch)
tree55ce8a9db330e3a1d32b848e435d6507f25c661a
parenta67ba9a314324fbd1a5246fc723b54a4e711d146 (diff)
downloadphp-git-f193a2ca40e19cbe9e6a9131f9208e47eca9cfe2.tar.gz
fix warning
-rw-r--r--ext/yaz/php_yaz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/yaz/php_yaz.c b/ext/yaz/php_yaz.c
index 09a4835b98..18b81fc743 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)