Skip to content

Compiling on latest Dovecot #11

@sirrkitt

Description

@sirrkitt

Compiled this on bleeding edge Dovecot from their git and it looks like there has been a change to push_notification_event_init that now needs four fields instead of three:

void push_notification_event_init(struct push_notification_driver_txn *dtxn,
				  const char *event_name, void *config,
				  struct event *log_event)

I tried digging through their examples but couldn't quite make sense of the *log_event but I added NULL for the last field and it built and appears to be functioning:

push_notification_event_init(dtxn, (*event)->name, NULL, NULL);

Hope this helps in the future

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions