Skip to content

Commit

Permalink
lib-storage: Fix MAIL_STORAGE_SERVICE_FLAG_DEBUG work again
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Aug 7, 2018
1 parent d3afdad commit d87ce31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib-storage/mail-storage-service.c
Expand Up @@ -1320,7 +1320,8 @@ mail_storage_service_lookup_real(struct mail_storage_service_ctx *ctx,
This event won't be a parent to any other events - mail_user.event
will be used for that. */
user->event = event_create(input->parent_event);
if (user->service_ctx->debug)
if (user->service_ctx->debug ||
(flags & MAIL_STORAGE_SERVICE_FLAG_DEBUG) != 0)
event_set_forced_debug(user->event, TRUE);
event_add_fields(user->event, (const struct event_add_field []){
{ .key = "user", .value = user->input.username },
Expand Down

0 comments on commit d87ce31

Please sign in to comment.