projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946b70c
)
Revert Giannis patch. Doing the fix in client.c
author
Dennis Schafroth
<dennis@indexdata.com>
Thu, 10 Feb 2011 12:23:23 +0000
(13:23 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Thu, 10 Feb 2011 12:23:23 +0000
(13:23 +0100)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
0b61662
..
2ebea7f
100644
(file)
--- 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;