Mercurial > dovecot > core-2.2
changeset 20894:ade61ee3588a
push-notification: Resolve indentation problem
author | Steffen Templin <steffen.templin@open-xchange.com> |
---|---|
date | Mon, 17 Oct 2016 09:34:04 +0200 |
parents | 252651306e8c |
children | c9f69cf9e021 |
files | src/plugins/push-notification/push-notification-driver-ox.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/push-notification/push-notification-driver-ox.c Thu Oct 06 07:35:17 2016 +0000 +++ b/src/plugins/push-notification/push-notification-driver-ox.c Mon Oct 17 09:34:04 2016 +0200 @@ -390,19 +390,19 @@ str_printfa(str, "\",\"imap-uidvalidity\":%u,\"imap-uid\":%u", msg->uid_validity, msg->uid); if (messagenew->from != NULL) { - str_append(str, ",\"from\":\""); - json_append_escaped(str, messagenew->from); + str_append(str, ",\"from\":\""); + json_append_escaped(str, messagenew->from); } if (messagenew->subject != NULL) { - str_append(str, "\",\"subject\":\""); - json_append_escaped(str, messagenew->subject); + str_append(str, "\",\"subject\":\""); + json_append_escaped(str, messagenew->subject); } if (messagenew->snippet != NULL) { - str_append(str, "\",\"snippet\":\""); - json_append_escaped(str, messagenew->snippet); + str_append(str, "\",\"snippet\":\""); + json_append_escaped(str, messagenew->snippet); } if (status_success) { - str_printfa(str, "\",\"unseen\":%u", box_status.unseen); + str_printfa(str, "\",\"unseen\":%u", box_status.unseen); } else { str_append(str, "\""); }