From d97ce76161f573beb88fff7eefe4e0f686a4f3a9 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 20 Apr 2017 11:46:45 -0700 Subject: 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 --- ui/export_pdu_ui_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/export_pdu_ui_utils.c') 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; } -- cgit v1.2.1