aboutsummaryrefslogtreecommitdiff
path: root/server-msg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-23 16:45:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-23 16:45:00 +0000
commit43cd40e87a41d9504dcac99419c96e3cdbb81029 (patch)
treef6ec67c9e1fd7cd800ce8ef67b96633afd7cacff /server-msg.c
parent1eb303e6d401c1ef2992933532eb2d7eab36cecf (diff)
downloadrtmux-43cd40e87a41d9504dcac99419c96e3cdbb81029.tar.gz
rtmux-43cd40e87a41d9504dcac99419c96e3cdbb81029.tar.bz2
rtmux-43cd40e87a41d9504dcac99419c96e3cdbb81029.zip
The cursession member in struct cmd_ctx is always either curclient->session or
NULL when curclient is also NULL, so just eliminate it.
Diffstat (limited to 'server-msg.c')
-rw-r--r--server-msg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/server-msg.c b/server-msg.c
index e8aea526..54bd2439 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -188,7 +188,6 @@ server_msg_command(struct client *c, struct msg_command_data *data)
ctx.msgdata = data;
ctx.curclient = NULL;
- ctx.cursession = NULL;
ctx.cmdclient = c;