"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/plugins/push-notification/push-notification-event-messageappend.c" between
dovecot-2.3.7.2.tar.gz and dovecot-2.3.8.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

push-notification-event-messageappend.c  (dovecot-2.3.7.2):push-notification-event-messageappend.c  (dovecot-2.3.8)
skipping to change at line 134 skipping to change at line 134
const char *const *mail_kws = mail_get_keywords(mail); const char *const *mail_kws = mail_get_keywords(mail);
ARRAY_TYPE(const_string) kws; ARRAY_TYPE(const_string) kws;
p_array_init(&kws, ptxn->pool, 2); p_array_init(&kws, ptxn->pool, 2);
for (;*mail_kws != NULL; mail_kws++) { for (;*mail_kws != NULL; mail_kws++) {
value = p_strdup(ptxn->pool, *mail_kws); value = p_strdup(ptxn->pool, *mail_kws);
array_append(&kws, &value, 1); array_append(&kws, &value, 1);
} }
array_append_zero(&kws); array_append_zero(&kws);
data->keywords = array_idx(&kws, 0); data->keywords = array_idx(&kws, 0);
} }
if ((data->message_id == NULL) &&
(config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_MESSAGE_ID) != 0 &&
(mail_get_first_header(mail, "Message-ID", &value) >= 0)) {
data->message_id = p_strdup(ptxn->pool, value);
}
} }
/* Event definition */ /* Event definition */
extern struct push_notification_event push_notification_event_messageappend; extern struct push_notification_event push_notification_event_messageappend;
struct push_notification_event push_notification_event_messageappend = { struct push_notification_event push_notification_event_messageappend = {
.name = EVENT_NAME, .name = EVENT_NAME,
.init = { .init = {
.default_config = push_notification_event_messageappend_default_config .default_config = push_notification_event_messageappend_default_config
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)