Skip to content

Commit

Permalink
* FIX [quic_api] Fix the wrong macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaEMQ authored and JaylinYu committed Jul 10, 2023
1 parent b15a202 commit d41f5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt/protocol/mqtt/mqtt_quic.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ mqtt_pipe_send_msg(nni_aio *aio, nni_msg *msg, mqtt_pipe_t *p, uint16_t packet_i
nni_aio *m_aio = nni_mqtt_msg_get_aio(tmsg);
if (m_aio) {
if (nni_mqtt_msg_get_packet_type(tmsg) == NNG_MQTT_SUBSCRIBE ||
nni_mqtt_msg_get_packet_type(tmsg) == CMD_UNSUBSCRIBE) {
nni_mqtt_msg_get_packet_type(tmsg) == NNG_MQTT_UNSUBSCRIBE) {
nni_aio_finish_error(m_aio, UNSPECIFIED_ERROR);
}
}
Expand Down

0 comments on commit d41f5b8

Please sign in to comment.