Commit d65d7c73 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix spacing in an error message

parent 0d88c116
......@@ -26,6 +26,6 @@ client c1 {
expect resp.http.bar == "foo"
} -run
varnish v1 -errvcl {Expected 'from path...'} {
varnish v1 -errvcl {Expected 'from path ...'} {
import std to;
}
......@@ -11,7 +11,7 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set vcc_unsafe_path off"
varnish v1 -errvcl {'import ... from path...' not allowed.} {
varnish v1 -errvcl {'import ... from path ...' not allowed.} {
backend default { .host = "${s1_sock}"; }
import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
}
......
......@@ -85,14 +85,13 @@ vcc_ParseImport(struct vcc *tl)
if (tl->t->tok == ID) {
if (!tl->unsafe_path) {
VSB_printf(tl->sb,
"'import ... from path...'"
" not allowed.\nAt:");
"'import ... from path ...' not allowed.\nAt:");
vcc_ErrToken(tl, tl->t);
vcc_ErrWhere(tl, tl->t);
return;
}
if (!vcc_IdIs(tl->t, "from")) {
VSB_printf(tl->sb, "Expected 'from path...'\n");
VSB_printf(tl->sb, "Expected 'from path ...'\n");
vcc_ErrWhere(tl, tl->t);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment