aboutsummaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
commit8d33c060282fedc26d46e02aeee98fb751330adb (patch)
tree51ec9482e012e08e93759fdde9329b76d60442bd /error.c
parentAdded --management-client option to connect as a client to (diff)
downloadopenvpn-8d33c060282fedc26d46e02aeee98fb751330adb.tar.xz
Added feature to --management-client to confirm connection
by writing IP addr and port to a file. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@885 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'error.c')
-rw-r--r--error.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/error.c b/error.c
index f01dd8f..6191cb3 100644
--- a/error.c
+++ b/error.c
@@ -705,6 +705,15 @@ msg_flags_string (const unsigned int flags, struct gc_arena *gc)
return BSTR (&out);
}
+#ifdef ENABLE_DEBUG
+void
+crash (void)
+{
+ char *null = NULL;
+ *null = 0;
+}
+#endif
+
#ifdef WIN32
const char *