summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-attach-session.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2014-02-23 00:53:06 +0000
committernicm <nicm@openbsd.org>2014-02-23 00:53:06 +0000
commit807352cf2a9d934df6477ae2c4d262fda45801b2 (patch)
tree20bbb752a0e93b6118652f75b387f7210848ca97 /usr.bin/tmux/cmd-attach-session.c
parent/etc/random.seed support in the boot blocks (only when loading from disk). (diff)
downloadwireguard-openbsd-807352cf2a9d934df6477ae2c4d262fda45801b2.tar.xz
wireguard-openbsd-807352cf2a9d934df6477ae2c4d262fda45801b2.zip
Change terminal-overrides to a server option (now that we have them), it
doesn't make much sense as a session option.
Diffstat (limited to 'usr.bin/tmux/cmd-attach-session.c')
-rw-r--r--usr.bin/tmux/cmd-attach-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-attach-session.c b/usr.bin/tmux/cmd-attach-session.c
index 2478b19989a..3b8d6104c95 100644
--- a/usr.bin/tmux/cmd-attach-session.c
+++ b/usr.bin/tmux/cmd-attach-session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-attach-session.c,v 1.29 2014/01/09 14:20:55 nicm Exp $ */
+/* $OpenBSD: cmd-attach-session.c,v 1.30 2014/02/23 00:53:06 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -132,7 +132,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag,
server_redraw_client(cmdq->client);
s->curw->flags &= ~WINLINK_ALERTFLAGS;
} else {
- if (server_client_open(cmdq->client, s, &cause) != 0) {
+ if (server_client_open(cmdq->client, &cause) != 0) {
cmdq_error(cmdq, "open terminal failed: %s", cause);
free(cause);
return (CMD_RETURN_ERROR);