]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Removed no longer needed delete_file() call
authorDavid Sommerseth <dazo@users.sourceforge.net>
Sat, 17 Apr 2010 19:01:20 +0000 (21:01 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 29 Apr 2010 18:22:29 +0000 (20:22 +0200)
Fabian Knittel noticed that this delete_file() calls should have been
removed in commit 5d30273a8741d2c1410bfdbc08b341398bf39b40

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
multi.c

diff --git a/multi.c b/multi.c
index 0e7f5c7fb5db5368470fa28d455ad187158fb99c..7a06bd03fc1508dc89c1018007709595f3c2ab22 100644 (file)
--- a/multi.c
+++ b/multi.c
@@ -1538,7 +1538,6 @@ multi_connection_established (struct multi_context *m, struct multi_instance *mi
           }
 
          argv_printf (&argv, "%s", dc_file);
-         delete_file (dc_file);
          if (plugin_call (mi->context.plugins, OPENVPN_PLUGIN_CLIENT_CONNECT, &argv, NULL, mi->context.c2.es) != OPENVPN_PLUGIN_FUNC_SUCCESS)
            {
              msg (M_WARN, "WARNING: client-connect plugin call failed");