=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-wait-for.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/tmux/cmd-wait-for.c 2016/10/16 19:04:05 1.16 --- src/usr.bin/tmux/cmd-wait-for.c 2018/11/07 07:58:16 1.17 *************** *** 1,4 **** ! /* $OpenBSD: cmd-wait-for.c,v 1.16 2016/10/16 19:04:05 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-wait-for.c,v 1.17 2018/11/07 07:58:16 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott *************** *** 170,176 **** struct client *c = item->client; struct wait_item *wi; ! if (c == NULL || c->session != NULL) { cmdq_error(item, "not able to wait"); return (CMD_RETURN_ERROR); } --- 170,176 ---- struct client *c = item->client; struct wait_item *wi; ! if (c == NULL) { cmdq_error(item, "not able to wait"); return (CMD_RETURN_ERROR); } *************** *** 198,204 **** { struct wait_item *wi; ! if (item->client == NULL || item->client->session != NULL) { cmdq_error(item, "not able to lock"); return (CMD_RETURN_ERROR); } --- 198,204 ---- { struct wait_item *wi; ! if (item->client == NULL) { cmdq_error(item, "not able to lock"); return (CMD_RETURN_ERROR); }