From 91f3165b2da17010fdb8d5d85e676fee442afcc4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 23 Jun 2008 16:58:49 +0000 Subject: IRIX fixes thanks to Elias Pipping. --- cmd-has-session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-has-session.c') diff --git a/cmd-has-session.c b/cmd-has-session.c index 53e1c4d4..6c010002 100644 --- a/cmd-has-session.c +++ b/cmd-has-session.c @@ -1,4 +1,4 @@ -/* $Id: cmd-has-session.c,v 1.9 2008-06-05 21:25:00 nicm Exp $ */ +/* $Id: cmd-has-session.c,v 1.10 2008-06-23 16:58:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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) -- cgit