mirror of
https://github.com/tmate-io/tmate.git
synced 2025-04-20 09:28:27 +02:00
Changed the wrong thing here.
This commit is contained in:
parent
946affe60d
commit
770ea563ee
4
cmd.c
4
cmd.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: cmd.c,v 1.103 2009-07-15 17:46:09 nicm Exp $ */
|
/* $Id: cmd.c,v 1.104 2009-07-17 15:56:46 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -555,7 +555,7 @@ cmd_find_window(struct cmd_ctx *ctx, const char *arg, struct session **sp)
|
|||||||
*/
|
*/
|
||||||
if ((s = cmd_current_session(ctx)) == NULL) {
|
if ((s = cmd_current_session(ctx)) == NULL) {
|
||||||
ctx->error(ctx, "can't establish current session");
|
ctx->error(ctx, "can't establish current session");
|
||||||
return (-1);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A NULL argument means the current session and window. */
|
/* A NULL argument means the current session and window. */
|
||||||
|
Loading…
Reference in New Issue
Block a user