Skip to content

Commit

Permalink
Clearer client disconnection message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Apr 28, 2020
1 parent cef9d89 commit ea47f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void do_disconnect(struct mosquitto_db *db, struct mosquitto *context, int reaso
log__printf(NULL, MOSQ_LOG_NOTICE, "Client %s disconnected due to protocol error.", id);
break;
case MOSQ_ERR_CONN_LOST:
log__printf(NULL, MOSQ_LOG_NOTICE, "Socket error on client %s, disconnecting.", id);
log__printf(NULL, MOSQ_LOG_NOTICE, "Client %s closed its connection.", id);
break;
case MOSQ_ERR_AUTH:
log__printf(NULL, MOSQ_LOG_NOTICE, "Client %s disconnected, no longer authorised.", id);
Expand Down

0 comments on commit ea47f6b

Please sign in to comment.