summaryrefslogtreecommitdiff
path: root/src/quic_entry.cpp
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-06-24 18:37:07 +0800
committerlijia <[email protected]>2024-06-25 11:14:35 +0800
commitfba00d59cbae937b0132507c2b82ecb8da36b57b (patch)
tree53d77ae8db6db8a247d4c9604cd015fff09e4110 /src/quic_entry.cpp
parent82cd2ced07a3c3d893d44943259c40dd6b269374 (diff)
feat: add history and lastest different version test stage; decoder result use struct iovec.dev-2.0
Diffstat (limited to 'src/quic_entry.cpp')
-rw-r--r--src/quic_entry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quic_entry.cpp b/src/quic_entry.cpp
index f7f3bb4..52d3ccd 100644
--- a/src/quic_entry.cpp
+++ b/src/quic_entry.cpp
@@ -112,11 +112,11 @@ static int parse_quic_port(char *port_list, unsigned short *quic_port, int quic_
static void free_quicinfo(struct quic_info *quic_info)
{
- if(quic_info->sni.str)
- FREE(quic_info->sni.str);
+ if(quic_info->sni.iov_base)
+ FREE(quic_info->sni.iov_base);
- if(quic_info->user_agent.str)
- FREE(quic_info->user_agent.str);
+ if(quic_info->user_agent.iov_base)
+ FREE(quic_info->user_agent.iov_base);
return ;
}