diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-04-16 22:09:48 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-04-19 00:13:25 +0200 |
commit | 5d30273a8741d2c1410bfdbc08b341398bf39b40 (patch) | |
tree | 7f4121be1c46ca74b77d00135b9f931cf78f81ad /init.c | |
parent | Harden create_temp_filename() (version 2) (diff) | |
download | openvpn-5d30273a8741d2c1410bfdbc08b341398bf39b40.tar.xz |
Renamed all calls to create_temp_filename()
All places where create_temp_filename() was called are now calling
create_temp_file(). Extra checks on the result of create_temp_file()
is added in addition.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to '')
-rw-r--r-- | init.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -457,7 +457,7 @@ init_static (void) #ifdef STATUS_PRINTF_TEST { struct gc_arena gc = gc_new (); - const char *tmp_file = create_temp_filename ("/tmp", "foo", &gc); + const char *tmp_file = create_temp_file ("/tmp", "foo", &gc); struct status_output *so = status_open (tmp_file, 0, -1, NULL, STATUS_OUTPUT_WRITE); status_printf (so, "%s", "foo"); status_printf (so, "%s", "bar"); |