while the F_INVCL flag is set, we need to insert a newline before the
entry for the new VCL_call.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1374
d4fa192b-c00b-0410-8231-
f00ffab90ce4
flg[fd] |= F_MATCH;
switch (tag) {
case SLT_VCL_call:
- flg[fd] |= F_INVCL;
- vsb_printf(ob[fd], "%5d %-12s %c %.*s\n",
+ if (flg[fd] & F_INVCL)
+ vsb_cat(ob[fd], "\n");
+ else
+ flg[fd] |= F_INVCL;
+ vsb_printf(ob[fd], "%5d %-12s %c %.*s",
fd, VSL_tags[tag],
((spec & VSL_S_CLIENT) ? 'c' : \
(spec & VSL_S_BACKEND) ? 'b' : '-'),