summaryrefslogtreecommitdiffstats
path: root/cmd-has-session.c
diff options
context:
space:
mode:
authornicm <nicm>2008-06-23 16:58:49 +0000
committernicm <nicm>2008-06-23 16:58:49 +0000
commit93d0bdbaa2bb77bf857f69f2150d687d7bd1f77f (patch)
treecb031b63c413600ba0419295a483d321fa20f057 /cmd-has-session.c
parent7d215a7e2e0dc371f1716e26521c994d9a8656ad (diff)
downloadtmux-old-93d0bdbaa2bb77bf857f69f2150d687d7bd1f77f.tar.gz
tmux-old-93d0bdbaa2bb77bf857f69f2150d687d7bd1f77f.tar.bz2
tmux-old-93d0bdbaa2bb77bf857f69f2150d687d7bd1f77f.zip
IRIX fixes thanks to Elias Pipping.
Diffstat (limited to 'cmd-has-session.c')
-rw-r--r--cmd-has-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-has-session.c b/cmd-has-session.c
index 3727d786..c275d4ca 100644
--- a/cmd-has-session.c
+++ b/cmd-has-session.c
@@ -45,7 +45,7 @@ cmd_has_session_exec(struct cmd *self, struct cmd_ctx *ctx)
struct cmd_target_data *data = self->data;
struct session *s;
- if ((s = cmd_find_session(ctx, data->target)) == NULL)
+ if (cmd_find_session(ctx, data->target) == NULL)
return;
if (ctx->cmdclient != NULL)