From 6902366b2b14e19d6b417fb4865f747d7be4669b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 14 Mar 2013 15:40:48 +0100 Subject: [PATCH] Fix check for pz:extendrecs --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 7b7017b..51b2c60 100644 --- a/src/client.c +++ b/src/client.c @@ -780,7 +780,7 @@ int client_fetch_more(struct client *cl) int number; str = session_setting_oneval(sdb, PZ_EXTENDRECS); - if (!str && !*str) + if (!str || !*str) return 0; extend_recs = atoi(str); -- 1.7.10.4