From be82ae08ec4e7ef8101226111e4f2890cd8aa466 Mon Sep 17 00:00:00 2001 From: Anton Voloshin Date: Thu, 25 Aug 2022 21:06:44 +0700 Subject: [PATCH] remove extra spaces from "user blocked:" message (#461) These spaces are, obviously, leftovers from back when formatting string contained "%s%s" without spaces. --- sources/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/auth.c b/sources/auth.c index ec504229..5e19f97b 100644 --- a/sources/auth.c +++ b/sources/auth.c @@ -647,9 +647,9 @@ static inline int od_auth_frontend_block(od_client_t *client) od_frontend_error( client, KIWI_INVALID_AUTHORIZATION_SPECIFICATION, "user blocked: %s %s", - client->rule->db_is_default ? " (unknown database)" : + client->rule->db_is_default ? "(unknown database)" : client->startup.database.value, - client->rule->user_is_default ? " (unknown user)" : + client->rule->user_is_default ? "(unknown user)" : client->startup.user.value); return 0; }