[Dovecot] [PATCH] quota-status: remove unnecessary newlines

Ulrich Zehl ulrich-dovecot at topfen.net
Thu Aug 1 19:26:53 EEST 2013


Here's a trivial patch for quota-status.c that removes unecessary newlines
present in the default overquota message. It applies to 2.2 and 2.1.

Ulrich

--- a/src/plugins/quota/quota-status.c	2013-08-01 14:35:35.000000000 +0200
+++ b/src/plugins/quota/quota-status.c	2013-08-01 17:58:26.000000000 +0200
@@ -107,7 +107,7 @@
 			/* over quota */
 			value = mail_user_plugin_getenv(user, "quota_status_overquota");
 			if (value == NULL)
-				value = t_strdup_printf("554 5.2.2 %s\n\n", error);
+				value = t_strdup_printf("554 5.2.2 %s", error);
 		}
 		value = t_strdup(value); /* user's pool is being freed */
 		mail_user_unref(&user);


More information about the dovecot mailing list