From 036906465c899cf281e83b6b607ea8c6399c54cd Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Sat, 26 Jan 2013 15:41:16 +0000 Subject: Replace disallowed filename characters to '-'. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7877 #BACKPORT(1.8, 1.6) svn path=/trunk/; revision=47298 --- tempfile.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tempfile.h') diff --git a/tempfile.h b/tempfile.h index 8ae67b2850..a3ec89d6e8 100644 --- a/tempfile.h +++ b/tempfile.h @@ -37,18 +37,18 @@ extern "C" { /** * Create a tempfile with the given prefix (e.g. "wireshark"). The path * is created using g_get_tmp_dir and mkstemp. - * + * * @param namebuf If not NULL, receives the full path of the temp file. * Must NOT be freed. * @param pfx A prefix for the temporary file. * @return The file descriptor of the new tempfile, from mkstemp(). */ -int create_tempfile(char **namebuf, const char *pfx); +int create_tempfile(char **namebuf, char *pfx); /** * Create a directory with the given prefix (e.g. "wireshark"). The path * is created using g_get_tmp_dir and mkdtemp. - * + * * @param namebuf If not NULL, receives the full path of the temp directory. * Must NOT be freed. * @param pfx A prefix for the temporary directory. -- cgit v1.2.3