version 1.141, 2015/11/18 14:27:44 |
version 1.142, 2015/11/20 12:01:19 |
|
|
list[(*size)++] = (*cmdent)->name; |
list[(*size)++] = (*cmdent)->name; |
} |
} |
} |
} |
for (oe = server_options_table; oe->name != NULL; oe++) { |
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; |
|
} |
|
} |
|
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) { |
if (strncmp(oe->name, s, strlen(s)) == 0) { |
list = xreallocarray(list, (*size) + 1, sizeof *list); |
list = xreallocarray(list, (*size) + 1, sizeof *list); |
list[(*size)++] = oe->name; |
list[(*size)++] = oe->name; |