From f97db614397ed6ae721f4d7458ebb0f499aee185 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 2 Jun 2008 18:23:37 +0000 Subject: Clear msgdata where it is unavailable. --- server-msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server-msg.c') diff --git a/server-msg.c b/server-msg.c index ed8b86b6..d419e9f2 100644 --- a/server-msg.c +++ b/server-msg.c @@ -1,4 +1,4 @@ -/* $Id: server-msg.c,v 1.44 2008-06-02 18:08:17 nicm Exp $ */ +/* $Id: server-msg.c,v 1.45 2008-06-02 18:23:37 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -122,9 +122,9 @@ server_msg_fn_command(struct hdr *hdr, struct client *c) ctx.error = server_msg_fn_command_error; ctx.print = server_msg_fn_command_print; + ctx.msgdata = &data; ctx.curclient = NULL; ctx.cursession = NULL; - ctx.msgdata = &data; ctx.cmdclient = c; ctx.flags = 0; -- cgit