mirror of
https://github.com/emqx/neuron.git
synced 2026-10-21 16:55:53 +08:00
chore(log): type con
This commit is contained in:
@@ -102,10 +102,10 @@ inline static void zlog_protocol(zlog_category_t *log, uint8_t *bytes,
|
||||
}
|
||||
|
||||
#define zlog_send_protocol(log, bytes, n_byte) \
|
||||
zlog_protocol(log, bytes, n_byte, NEU_PROTOCOL_SEND)
|
||||
zlog_protocol(log, (uint8_t *) bytes, n_byte, NEU_PROTOCOL_SEND)
|
||||
|
||||
#define zlog_recv_protocol(log, bytes, n_byte) \
|
||||
zlog_protocol(log, bytes, n_byte, NEU_PROTOCOL_RECV)
|
||||
zlog_protocol(log, (uint8_t *) bytes, n_byte, NEU_PROTOCOL_RECV)
|
||||
|
||||
#define plog_recv_protocol(plugin, bytes, n_byte) \
|
||||
zlog_recv_protocol((plugin)->common.log, bytes, n_byte)
|
||||
|
||||
Reference in New Issue
Block a user