From: Martti Rannanjärvi Date: Thu, 14 Dec 2017 10:47:00 +0000 (+0200) Subject: quota-count: Remove extra "quota-count failed:" from error_r X-Git-Tag: 2.3.9~2374 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de338ef27767268c2018f54f0b5ddeff7fca3870;p=thirdparty%2Fdovecot%2Fcore.git quota-count: Remove extra "quota-count failed:" from error_r --- diff --git a/src/plugins/quota/quota-count.c b/src/plugins/quota/quota-count.c index 3778684323..87bbdc7315 100644 --- a/src/plugins/quota/quota-count.c +++ b/src/plugins/quota/quota-count.c @@ -194,9 +194,7 @@ int quota_count(struct quota_root *root, uint64_t *bytes_r, uint64_t *count_r, if (ret < 0) { const char *separator = *error1 != '\0' && *error2 != '\0' ? " and " : ""; - *error_r = t_strdup_printf( - "quota-count failed: %s%s%s", - error1, separator, error2); + *error_r = t_strconcat(error1, separator, error2, NULL); } root->recounting = FALSE; return ret;