diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-04-20 11:46:45 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-04-20 18:47:34 +0000 |
commit | d97ce76161f573beb88fff7eefe4e0f686a4f3a9 (patch) | |
tree | f4bce674e348c103d56678915de357f309522a9a /ui/export_pdu_ui_utils.c | |
parent | 9e9d284d9157a8b79964015be868f4e8c43274c3 (diff) |
cf_open() pops up a dialog box on errors; its callers shouldn't do so.
Change-Id: I1c65854b5bde1c64d70cb17a13080829f0faa27b
Reviewed-on: https://code.wireshark.org/review/21253
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/export_pdu_ui_utils.c')
-rw-r--r-- | ui/export_pdu_ui_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/export_pdu_ui_utils.c b/ui/export_pdu_ui_utils.c index 352861e0ab..be8b8915ee 100644 --- a/ui/export_pdu_ui_utils.c +++ b/ui/export_pdu_ui_utils.c @@ -72,7 +72,7 @@ exp_pdu_file_open(exp_pdu_t *exp_pdu_tap_data) /* 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) { - open_failure_alert_box(capfile_name, err, FALSE); + /* cf_open() has put up a dialog box for the error */ goto end; } |