Fix type of queued_rescan_type

This should be the same type as cf->redissection_queued, a
rescan_type num. It probably happens to work as a gboolean,
but probably wouldn't work with a C99 bool.
This commit is contained in:
John Thacker 2024-04-08 19:01:33 -04:00
parent 304cb10701
commit 107666afa1

2
file.c
View File

@ -1727,7 +1727,7 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item, gb
gboolean add_to_packet_list = FALSE;
gboolean compiled _U_;
guint32 frames_count;
gboolean queued_rescan_type = RESCAN_NONE;
rescan_type queued_rescan_type = RESCAN_NONE;
if (cf->state == FILE_CLOSED || cf->state == FILE_READ_PENDING) {
return;