aboutsummaryrefslogtreecommitdiff
path: root/cmd-confirm-before.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-24 16:24:18 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-24 16:24:18 +0000
commit2e2e762743417ae7a0c32a4b40909ecdf3bb3560 (patch)
tree5bb1acfe9bc3008ee8197c6daa12e8e2ce88658e /cmd-confirm-before.c
parent266c13df18bb576bbda4a417c429a66a8929c6af (diff)
downloadrtmux-2e2e762743417ae7a0c32a4b40909ecdf3bb3560.tar.gz
rtmux-2e2e762743417ae7a0c32a4b40909ecdf3bb3560.tar.bz2
rtmux-2e2e762743417ae7a0c32a4b40909ecdf3bb3560.zip
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.
Diffstat (limited to 'cmd-confirm-before.c')
-rw-r--r--cmd-confirm-before.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-confirm-before.c b/cmd-confirm-before.c
index eca42b39..5c2dd109 100644
--- a/cmd-confirm-before.c
+++ b/cmd-confirm-before.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-confirm-before.c,v 1.10 2009-08-16 19:29:24 tcunha Exp $ */
+/* $Id: cmd-confirm-before.c,v 1.11 2009-08-24 16:24:18 tcunha Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -122,7 +122,6 @@ cmd_confirm_before_callback(void *data, const char *s)
}
ctx.msgdata = NULL;
- ctx.cursession = c->session;
ctx.curclient = c;
ctx.error = key_bindings_error;