diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-01-26 15:41:16 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-01-26 15:41:16 +0000 |
commit | 036906465c899cf281e83b6b607ea8c6399c54cd (patch) | |
tree | 923955e81f4a847f5956da5ae4aaada10e7d0c0e /tempfile.h | |
parent | a18bdb19df6816feebe3085cd9d5f000351ed1a8 (diff) | |
download | wireshark-036906465c899cf281e83b6b607ea8c6399c54cd.tar.gz wireshark-036906465c899cf281e83b6b607ea8c6399c54cd.tar.bz2 wireshark-036906465c899cf281e83b6b607ea8c6399c54cd.zip |
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
Diffstat (limited to 'tempfile.h')
-rw-r--r-- | tempfile.h | 6 |
1 files changed, 3 insertions, 3 deletions
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. |