summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 18:23:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 18:23:37 +0000
commitf97db614397ed6ae721f4d7458ebb0f499aee185 (patch)
tree3e6c24dff97aa96e7715b47feb827cfd9bf69b0f /cfg.c
parentc7243b73cb3baaf6993d8a9dfb16c054c3978040 (diff)
Clear msgdata where it is unavailable.
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index 4b4b2476..480a6b6b 100644
--- a/cfg.c
+++ b/cfg.c
@@ -1,4 +1,4 @@
-/* $Id: cfg.c,v 1.1 2008-06-02 18:08:16 nicm Exp $ */
+/* $Id: cfg.c,v 1.2 2008-06-02 18:23:37 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -121,6 +121,7 @@ load_cfg(const char *path, char **cause)
goto error;
}
+ ctx.msgdata = NULL;
ctx.cursession = NULL;
ctx.curclient = NULL;