=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-refresh-client.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- src/usr.bin/tmux/cmd-refresh-client.c 2021/08/20 18:59:53 1.40 +++ src/usr.bin/tmux/cmd-refresh-client.c 2021/08/20 19:34:51 1.41 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-refresh-client.c,v 1.40 2021/08/20 18:59:53 nicm Exp $ */ +/* $OpenBSD: cmd-refresh-client.c,v 1.41 2021/08/20 19:34:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -117,7 +117,7 @@ struct client *tc = cmdq_get_target_client(item); struct tty *tty = &tc->tty; struct window *w; - const char *size, *errstr, *value; + const char *size, *errstr; u_int x, y, adjust; struct args_value *av; @@ -187,7 +187,7 @@ av = args_first_value(args, 'A'); while (av != NULL) { cmd_refresh_client_update_offset(tc, av->value); - av = args_next_value(&av); + av = args_next_value(av); } return (CMD_RETURN_NORMAL); } @@ -196,7 +196,7 @@ goto not_control_client; av = args_first_value(args, 'B'); while (av != NULL) { - cmd_refresh_client_update_subscription(tc, av); + cmd_refresh_client_update_subscription(tc, av->value); av = args_next_value(av); } return (CMD_RETURN_NORMAL);