client: truncate value string to the column length

This commit is contained in:
Tim Kourt 2018-08-02 18:01:51 -07:00 committed by Denis Kenzior
parent 17c35dd1bc
commit a3bc408ae4
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ void proxy_properties_display(const struct proxy_interface *proxy,
if (!properties[i].tostr)
continue;
display("%s%*s %-*s%-*s\n", margin,
display("%s%*s %-*s%-.*s\n", margin,
8, properties[i].is_read_write ?
COLOR_BOLDGRAY " *" COLOR_OFF : "",
name_column_width, properties[i].name,