mirror of
https://github.com/tmux/tmux.git
synced 2025-09-06 00:37:06 +00:00
Sync OpenBSD patchset 289:
The cursession member in struct cmd_ctx is always either curclient->session or NULL when curclient is also NULL, so just eliminate it.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: server-msg.c,v 1.81 2009-08-14 21:31:20 tcunha Exp $ */
|
||||
/* $Id: server-msg.c,v 1.82 2009-08-24 16:24:18 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user