* mu-cmd-server: minor

This commit is contained in:
djcb
2012-10-03 10:37:02 +03:00
parent 542043989d
commit 6f3c738076

View File

@ -886,9 +886,9 @@ cmd_find (ServerContext *ctx, GSList *args, GError **err)
return MU_OK; return MU_OK;
} }
/* note: when we're threading, we get *all* messages, and then /* note: when we're threading, we get *all* matching messages,
* only return maxnum; this is so that we maximimize the * and then only return maxnum; this is so that we maximimize
* change of all messages in a thread showing up */ * the change of all messages in a thread showing up */
iter = mu_query_run (ctx->query, querystr, threads, iter = mu_query_run (ctx->query, querystr, threads,
sortfield, reverse, sortfield, reverse,
threads ? -1 : maxnum, err); threads ? -1 : maxnum, err);