} else {
auth_request_log_info(request, AUTH_SUBSYS_DB,
"No password returned (and no nopassword)");
+ *password_r = NULL;
return PASSDB_RESULT_PASSWORD_MISMATCH;
}
return PASSDB_RESULT_OK;
struct mail_search_args *search_args;
unsigned int i, count;
+ *error_r = NULL;
+
if (ctx->rule_idx == array_count(&ctx->mbox->backend_boxes)) {
i_assert(str_len(ctx->rule) == 0);
return 0;
search_args = virtual_search_args_parse(ctx->rule, error_r);
str_truncate(ctx->rule, 0);
if (search_args == NULL) {
+ i_assert(*error_r != NULL);
*error_r = t_strconcat("Previous search rule is invalid: ",
*error_r, NULL);
return -1;