From 9e9d284d9157a8b79964015be868f4e8c43274c3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 20 Apr 2017 11:23:51 -0700 Subject: Have separate routines for open-for-reading and open-for-writing errors. Expand comments while we're at it. Change-Id: I6dcc791eab1c9e323a9572f3d54720d223bdd64b Reviewed-on: https://code.wireshark.org/review/21252 Reviewed-by: Guy Harris --- ui/export_pdu_ui_utils.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (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 e16c1ff31d..352861e0ab 100644 --- a/ui/export_pdu_ui_utils.c +++ b/ui/export_pdu_ui_utils.c @@ -57,9 +57,8 @@ exp_pdu_file_open(exp_pdu_t *exp_pdu_tap_data) err = exp_pdu_open(exp_pdu_tap_data, import_file_fd, comment); if (err != 0) { g_free(comment); - cfile_open_failure_alert_box(capfile_name ? capfile_name : "temporary file", - err, NULL, TRUE, - WTAP_FILE_TYPE_SUBTYPE_PCAPNG); + cfile_dump_open_failure_alert_box(capfile_name ? capfile_name : "temporary file", + err, WTAP_FILE_TYPE_SUBTYPE_PCAPNG); goto end; } -- cgit v1.2.3