]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-imap-urlauth: imap_urlauth_fetch_local() - Reformat code
authorMarco Bettini <marco.bettini@open-xchange.com>
Thu, 6 Oct 2022 14:39:03 +0000 (14:39 +0000)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 26 Oct 2022 16:35:08 +0000 (16:35 +0000)
src/lib-imap-urlauth/imap-urlauth-fetch.c

index 39ba7045ef409411de6e4da5690f01f8a5285bc4..f528590d192e506c6ca8d398934e0d20fd7df62c 100644 (file)
@@ -198,8 +198,9 @@ imap_urlauth_fetch_local(struct imap_urlauth_fetch *ufetch, const char *url,
        }
        if (ret <= 0) {
                if (ret == 0) {
-                       errormsg = t_strdup_printf("Failed to fetch URLAUTH \"%s\": %s",
-                                                  url, error);
+                       errormsg = t_strdup_printf(
+                               "Failed to fetch URLAUTH \"%s\": %s",
+                               url, error);
                        e_debug(event, "%s", errormsg);
                }
                success = FALSE;
@@ -213,8 +214,9 @@ imap_urlauth_fetch_local(struct imap_urlauth_fetch *ufetch, const char *url,
                ret = imap_msgpart_url_get_bodypartstructure(mpurl, &bpstruct, &error);
                if (ret <= 0) {
                        if (ret == 0) {
-                               errormsg = t_strdup_printf
-                                       ("Failed to read URLAUTH \"%s\": %s",   url, error);
+                               errormsg = t_strdup_printf(
+                                       "Failed to read URLAUTH \"%s\": %s",
+                                       url, error);
                                e_debug(event, "%s", errormsg);
                        }
                        success = FALSE;
@@ -228,8 +230,9 @@ imap_urlauth_fetch_local(struct imap_urlauth_fetch *ufetch, const char *url,
                ret = imap_msgpart_url_read_part(mpurl, &mpresult, &error);
                if (ret <= 0) {
                        if (ret == 0) {
-                               errormsg = t_strdup_printf
-                                       ("Failed to read URLAUTH \"%s\": %s",   url, error);
+                               errormsg = t_strdup_printf(
+                                       "Failed to read URLAUTH \"%s\": %s",
+                                       url, error);
                                e_debug(event, "%s", errormsg);
                        }
                        success = FALSE;