From acc018b8d1db3489d3f63f8f096c593243191469 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 29 May 2016 13:52:19 -0400 Subject: Allow create_tempfile to support a suffix. Ping-Bug: 10203 Change-Id: Ifa24870d711449b87e9839dd46af614e4aa28fde Reviewed-on: https://code.wireshark.org/review/15608 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson --- 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 f923f074a7..133e511df8 100644 --- a/ui/export_pdu_ui_utils.c +++ b/ui/export_pdu_ui_utils.c @@ -50,7 +50,7 @@ exp_pdu_file_open(exp_pdu_t *exp_pdu_tap_data) int err; /* Choose a random name for the temporary import buffer */ - import_file_fd = create_tempfile(&tmpname, "Wireshark_PDU_"); + import_file_fd = create_tempfile(&tmpname, "Wireshark_PDU_", NULL); capfile_name = g_strdup(tmpname); err = exp_pdu_open(exp_pdu_tap_data, import_file_fd, -- cgit v1.2.3