[master] e39883d54 trivial polish

Nils Goroll nils.goroll at uplex.de
Thu Mar 14 13:57:08 UTC 2019


commit e39883d54685d4ef8a5f792d397560c5709a1763
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Mar 14 14:55:40 2019 +0100

    trivial polish

diff --git a/lib/libvarnish/vte.c b/lib/libvarnish/vte.c
index b0e2883d0..f71a147b8 100644
--- a/lib/libvarnish/vte.c
+++ b/lib/libvarnish/vte.c
@@ -99,7 +99,7 @@ VCLI_VTE(struct cli *cli, struct vsb **src, int width)
 	nsp = (width - (w_ln)) / n_col;
 	if (nsp > 3)
 		nsp = 3;
-	if (nsp < 1)
+	else if (nsp < 1)
 		nsp = 1;
 
 	cc = 0;


More information about the varnish-commit mailing list