aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-04-27 20:09:07 +0100
committerThomas Adam <thomas@xteddy.org>2019-04-27 20:09:07 +0100
commit5489796737108cb9bba01f831421e531a50b946b (patch)
tree4f3c2727315adabaf5d932a1d81d4fad3e491752 /status.c
parent85f09f9a4cf52b5af6b84464ea643c7c3686b0ad (diff)
parentdfb7bb683057d08303955c49073f4b475bd0e2d6 (diff)
downloadrtmux-5489796737108cb9bba01f831421e531a50b946b.tar.gz
rtmux-5489796737108cb9bba01f831421e531a50b946b.tar.bz2
rtmux-5489796737108cb9bba01f831421e531a50b946b.zip
Merge branch 'obsd-master'
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index 34ed3778..89912114 100644
--- a/status.c
+++ b/status.c
@@ -1323,7 +1323,7 @@ status_prompt_complete_list(u_int *size, const char *s)
while (a != NULL) {
value = options_array_item_value(a)->string;
if ((cp = strchr(value, '=')) == NULL)
- goto next;
+ goto next;
valuelen = cp - value;
if (slen > valuelen || strncmp(value, s, slen) != 0)
goto next;