aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 00:55:59 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 00:55:59 +0000
commitddad0a8c23560ba39b786144d8b74be8b8ffd64f (patch)
treeed2585babe7742c081ca13e721150a755c245f32 /init.c
parentFixed code inclusion bug that was erroneously testing (diff)
downloadopenvpn-ddad0a8c23560ba39b786144d8b74be8b8ffd64f.tar.xz
gen_path will no longer silently truncate the generated
filename at 256 bytes. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3076 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r--init.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/init.c b/init.c
index 05d8cd7..218fae1 100644
--- a/init.c
+++ b/init.c
@@ -439,6 +439,19 @@ init_static (void)
return false;
#endif
+#if 0
+ {
+ struct gc_arena gc = gc_new ();
+ const char *fn = gen_path ("foo",
+ "bar",
+ &gc);
+ printf ("%s\n", fn);
+ gc_free (&gc);
+ }
+
+ return false;
+#endif
+
return true;
}