commit 75b7d18e0ca8d42775cc565f91e6b86e1eea7f7a
parent 0d7fbfe523b6fd1d9477b1c73e4c1571e7dd2f65
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date: Fri, 25 Oct 2019 10:26:07 -0700
client: Fix network name completion
Exclude the network names that are shorter then the query text
from the autocompletion network name list.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/client/network.c b/client/network.c
@@ -228,6 +228,9 @@ static bool match_by_partial_name(const void *a, const void *b)
return false;
}
+ if (*text)
+ return false;
+
return true;
}