From f478857ee42d19e8ac5746f4eaa585e5c19dce50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martti=20Rannanj=C3=A4rvi?= Date: Thu, 14 Dec 2017 12:47:00 +0200 Subject: [PATCH] quota-count: Remove extra "quota-count failed:" from error_r --- src/plugins/quota/quota-count.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;