* cosmetics

This commit is contained in:
djcb
2012-01-07 14:26:34 +02:00
parent eb31c42096
commit 530c69f763
2 changed files with 11 additions and 6 deletions

View File

@ -368,13 +368,15 @@ cmd_find (MuStore *store, MuQuery *query, GSList *args, GError **err)
* ones; it seems we cannot get a sorted list of a subset of
* the result --> needs investigation, this is a
* work-around */
if (!(iter = mu_query_run (query, (const char*)args->data, TRUE,
MU_MSG_FIELD_ID_DATE, TRUE, -1, err)))
iter = mu_query_run (query, (const char*)args->data, TRUE,
MU_MSG_FIELD_ID_DATE, TRUE, -1, err);
if (!iter)
return server_error (err, MU_ERROR_INTERNAL,
"couldn't get iterator");
/* if (!(iter = mu_query_run (query, (const char*)args->data, TRUE, */
/* MU_MSG_FIELD_ID_DATE, TRUE, maxnum, err))) */
return server_error (err, MU_ERROR_INTERNAL,
"couldn't get iterator");
/* return results + the number of results found */
send_expr ("(:found %u)\n", output_found_sexps (iter, maxnum));