From e2020001fd52f6cbfa51e6ef8706236d1c74aa3d Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 10 Feb 2011 13:23:23 +0100 Subject: [PATCH] Revert Giannis patch. Doing the fix in client.c --- src/session.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/session.c b/src/session.c index 0b61662..2ebea7f 100644 --- a/src/session.c +++ b/src/session.c @@ -489,14 +489,10 @@ static void select_targets_callback(void *context, struct session_database *db) struct session *se = (struct session*) context; struct client *cl = client_create(); struct client_list *l; - const char *maxrecs = session_setting_oneval(db, PZ_MAXRECS); client_set_database(cl, db); client_set_session(cl, se); - if (*maxrecs) - client_set_maxrecs(cl, atoi(maxrecs)); - l = xmalloc(sizeof(*l)); l->client = cl; l->next = se->clients; -- 1.7.10.4