Skip to content

Commit

Permalink
Suppress confusing "unknown PUBREL" message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed May 29, 2019
1 parent 142d07f commit 908d1be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/handle_pubrel.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ int handle__pubrel(struct mosquitto_db *db, struct mosquitto *mosq)
}else if(rc != MOSQ_ERR_SUCCESS){
/* Message not found. Still send a PUBCOMP anyway because this could be
* due to a repeated PUBREL after a client has reconnected. */
log__printf(mosq, MOSQ_LOG_WARNING, "Warning: Received PUBREL from %s for an unknown packet identifier %d.", mosq->id, mid);
}

rc = send__pubcomp(mosq, mid);
Expand Down

0 comments on commit 908d1be

Please sign in to comment.