summaryrefslogtreecommitdiff
path: root/extcap.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-05-29 13:52:19 -0400
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2016-06-01 06:24:05 +0000
commitacc018b8d1db3489d3f63f8f096c593243191469 (patch)
treee7adc7f2ffe56a94550c7def88de4cc8f50d9ac8 /extcap.c
parentb2845a6ac885d49aa1ea5d3865cd377d812eb4c7 (diff)
downloadwireshark-acc018b8d1db3489d3f63f8f096c593243191469.tar.gz
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 <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap.c b/extcap.c
index 88d32b4719..29f931ac12 100644
--- a/extcap.c
+++ b/extcap.c
@@ -974,7 +974,7 @@ gboolean extcap_create_pipe(char ** fifo)
gchar *temp_name = NULL;
int fd = 0;
- if ((fd = create_tempfile(&temp_name, EXTCAP_PIPE_PREFIX)) < 0 )
+ if ((fd = create_tempfile(&temp_name, EXTCAP_PIPE_PREFIX, NULL)) < 0 )
return FALSE;
ws_close(fd);