diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
commit | a86c5f7cae7ec9a3398300555a0b644689d946a1 (patch) | |
tree | 39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /ui/export_pdu_ui_utils.c | |
parent | Releasing progress-linux version 4.2.6-1~progress7.99u1. (diff) | |
download | wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ui/export_pdu_ui_utils.c')
-rw-r--r-- | ui/export_pdu_ui_utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/export_pdu_ui_utils.c b/ui/export_pdu_ui_utils.c index 51780dd8..32b91ad8 100644 --- a/ui/export_pdu_ui_utils.c +++ b/ui/export_pdu_ui_utils.c @@ -30,16 +30,16 @@ #include "export_pdu_ui_utils.h" void -do_export_pdu(const char *filter, const gchar *temp_dir, const gchar *tap_name) +do_export_pdu(const char *filter, const char *temp_dir, const char *tap_name) { exp_pdu_t exp_pdu_tap_data; char *error; int import_file_fd; int file_type_subtype; char *capfile_name = NULL, *comment; - gboolean status; + bool status; int err; - gchar *err_info; + char *err_info; error = exp_pdu_pre_open(tap_name, filter, &exp_pdu_tap_data); if (error) { @@ -85,13 +85,13 @@ do_export_pdu(const char *filter, const gchar *temp_dir, const gchar *tap_name) } /* XXX: should this use the open_routine type in the cfile instead of WTAP_TYPE_AUTO? */ - if (cf_open(&cfile, capfile_name, WTAP_TYPE_AUTO, TRUE /* temporary file */, &err) != CF_OK) { + if (cf_open(&cfile, capfile_name, WTAP_TYPE_AUTO, true /* temporary file */, &err) != CF_OK) { /* cf_open() has put up a dialog box for the error */ g_free(capfile_name); return; } - switch (cf_read(&cfile, /*reloading=*/FALSE)) { + switch (cf_read(&cfile, /*reloading=*/false)) { case CF_READ_OK: case CF_READ_ERROR: /* Just because we got an error, that doesn't mean we were unable |