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:
Tiago Cunha
2009-08-24 16:24:18 +00:00
parent 266c13df18
commit 2e2e762743
7 changed files with 10 additions and 17 deletions

4
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.425 2009-08-20 11:51:20 tcunha Exp $ */
/* $Id: tmux.h,v 1.426 2009-08-24 16:24:18 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -986,8 +986,6 @@ struct cmd_ctx {
struct client *curclient;
struct client *cmdclient;
struct session *cursession;
struct msg_command_data *msgdata;
void printflike2 (*print)(struct cmd_ctx *, const char *, ...);