=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.141 retrieving revision 1.142 diff -c -r1.141 -r1.142 *** src/usr.bin/tmux/status.c 2015/11/18 14:27:44 1.141 --- src/usr.bin/tmux/status.c 2015/11/20 12:01:19 1.142 *************** *** 1,4 **** ! /* $OpenBSD: status.c,v 1.141 2015/11/18 14:27:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: status.c,v 1.142 2015/11/20 12:01:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1205,1223 **** list[(*size)++] = (*cmdent)->name; } } ! for (oe = server_options_table; oe->name != NULL; oe++) { ! if (strncmp(oe->name, s, strlen(s)) == 0) { ! list = xreallocarray(list, (*size) + 1, sizeof *list); ! list[(*size)++] = oe->name; ! } ! } ! for (oe = session_options_table; oe->name != NULL; oe++) { ! if (strncmp(oe->name, s, strlen(s)) == 0) { ! list = xreallocarray(list, (*size) + 1, sizeof *list); ! list[(*size)++] = oe->name; ! } ! } ! for (oe = window_options_table; oe->name != NULL; oe++) { if (strncmp(oe->name, s, strlen(s)) == 0) { list = xreallocarray(list, (*size) + 1, sizeof *list); list[(*size)++] = oe->name; --- 1205,1211 ---- list[(*size)++] = (*cmdent)->name; } } ! for (oe = options_table; oe->name != NULL; oe++) { if (strncmp(oe->name, s, strlen(s)) == 0) { list = xreallocarray(list, (*size) + 1, sizeof *list); list[(*size)++] = oe->name;