rename session_get0_current_packet() to session_get_current_packet()

This commit is contained in:
luwenpeng
2024-11-01 15:36:18 +08:00
parent c05d3fe2d5
commit da9e15264d
20 changed files with 52 additions and 52 deletions

View File

@@ -236,7 +236,7 @@ void stratum_decoder_tcp_on_msg_cb(struct session *sess, int topic_id, const voi
struct stratum_decoder_info *stratum_decoder_info = (struct stratum_decoder_info *)plugin_env;
const struct packet *pkt = session_get0_current_packet(sess);
const struct packet *pkt = session_get_current_packet(sess);
const char *payload = packet_get_payload(pkt);
size_t payload_len = packet_get_payload_len(pkt);