From: Dennis Schafroth Date: Thu, 10 Feb 2011 12:23:23 +0000 (+0100) Subject: Revert Giannis patch. Doing the fix in client.c X-Git-Tag: v1.5.5~50 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=e2020001fd52f6cbfa51e6ef8706236d1c74aa3d;p=pazpar2-moved-to-github.git Revert Giannis patch. Doing the fix in client.c --- 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;