[master] 054d8e9 Add some missing trailing spaces in error strings
Martin Blix Grydeland
martin at varnish-cache.org
Tue Oct 1 14:48:19 CEST 2013
commit 054d8e955182d5c8a4820baf7939f56819e9a5ec
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Wed Sep 25 15:55:43 2013 +0200
Add some missing trailing spaces in error strings
diff --git a/lib/libvarnishapi/vxp_parse.c b/lib/libvarnishapi/vxp_parse.c
index c105bc7..ec82b96 100644
--- a/lib/libvarnishapi/vxp_parse.c
+++ b/lib/libvarnishapi/vxp_parse.c
@@ -68,17 +68,17 @@ vxp_expr_lhs(struct vxp *vxp, struct vex_lhs **plhs)
(*plhs)->tags = vbit_init(SLT__MAX);
i = VSL_List2Tags(vxp->t->dec, -1, vsl_vbm_bitset, (*plhs)->tags);
if (i == -1) {
- VSB_printf(vxp->sb, "Taglist matches zero tags");
+ VSB_printf(vxp->sb, "Taglist matches zero tags ");
vxp_ErrWhere(vxp, vxp->t, -1);
return;
}
if (i == -2) {
- VSB_printf(vxp->sb, "Taglist is ambiguous");
+ VSB_printf(vxp->sb, "Taglist is ambiguous ");
vxp_ErrWhere(vxp, vxp->t, -1);
return;
}
if (i == -3) {
- VSB_printf(vxp->sb, "Syntax error in taglist");
+ VSB_printf(vxp->sb, "Syntax error in taglist ");
vxp_ErrWhere(vxp, vxp->t, -1);
return;
}
@@ -112,7 +112,7 @@ vxp_expr_lhs(struct vxp *vxp, struct vex_lhs **plhs)
}
(*plhs)->field = (int)strtol(vxp->t->dec, &p, 0);
if (*p || (*plhs)->field <= 0) {
- VSB_printf(vxp->sb, "Expected positive integer");
+ VSB_printf(vxp->sb, "Expected positive integer ");
vxp_ErrWhere(vxp, vxp->t, -1);
return;
}
More information about the varnish-commit
mailing list