Skip to content

Commit 606a651

Browse files
Style, wording
1 parent 1abc4ed commit 606a651

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbitmq_mqtt/src/rabbit_mqtt_processor.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -652,12 +652,12 @@ extract_client_id_from_certificate(Client0, Socket) ->
652652
case ssl_client_id(Socket, SslClientIdSettings) of
653653
none ->
654654
{ok, Client0};
655-
V when V == Client0 ->
655+
Client0 ->
656656
{ok, Client0};
657-
V ->
657+
Other ->
658658
?LOG_ERROR(
659-
"MQTT login failed: client_id in cert (~p) does not match client_id in protocol (~p)",
660-
[V, Client0]),
659+
"MQTT login failed: client_id in the certificate (~tp) does not match the client-provided ID (~p)",
660+
[Other, Client0]),
661661
{error, ?RC_CLIENT_IDENTIFIER_NOT_VALID}
662662
end
663663
end.

0 commit comments

Comments
 (0)