]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
push-notification: Resolve indentation problem
authorSteffen Templin <steffen.templin@open-xchange.com>
Mon, 17 Oct 2016 07:34:04 +0000 (09:34 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 19 Oct 2016 12:42:31 +0000 (15:42 +0300)
src/plugins/push-notification/push-notification-driver-ox.c

index a995b68d449e68c883824f24eb9dcb15e094daa5..71f30871294d1f77b56a65d2c52ac47bacea7242 100644 (file)
@@ -390,19 +390,19 @@ static void push_notification_driver_ox_process_msg
     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, "\"");
     }