remove extra spaces from "user blocked:" message (#461)

These spaces are, obviously, leftovers from back when formatting string contained "%s%s" without spaces.
This commit is contained in:
Anton Voloshin 2022-08-25 21:06:44 +07:00 committed by GitHub
parent f0ee140956
commit be82ae08ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}