From b3adf9aaa551ef92c83b6ea5951882164c277b24 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Wed, 10 Oct 2012 10:59:54 +0200 Subject: [PATCH] Return 1 on research. 0 on no research --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index fd1ebc9..618dfcf 100644 --- a/src/client.c +++ b/src/client.c @@ -1414,7 +1414,7 @@ int client_parse_sort(struct client *cl, struct reclist_sortparms *sp) } } - return cl->same_search; + return !cl->same_search; } void client_set_session(struct client *cl, struct session *se) -- 1.7.10.4