summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-04-16 22:09:48 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-10-21 11:37:03 +0200
commit495e3cec5d15655058cd70983b8a0d65bd403d84 (patch)
tree0d3079adfccdb24f3c4e1cd192ebf05882f23ded /init.c
parent4e1cc5f6dda22e9ff121d3753066775c25448bcc (diff)
downloadopenvpn-495e3cec5d15655058cd70983b8a0d65bd403d84.tar.gz
openvpn-495e3cec5d15655058cd70983b8a0d65bd403d84.tar.xz
openvpn-495e3cec5d15655058cd70983b8a0d65bd403d84.zip
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 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index a46fbde..2049daf 100644
--- a/init.c
+++ b/init.c
@@ -615,7 +615,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");