Skip to content
Browse files

Ignore index lines without either a '+' or '-'

When upgrading from when a previous release that doesn't have the latest
VSM index file changes, the utilities will assert when trying to parse the
index file from the previous version. Fix that by ignoring lines not
starting with either '#', '+' or '-'.
  • Loading branch information...
mbgrydeland committed Aug 29, 2019
1 parent 06a9a0d commit e9436f63be963a6d4942c4070504e0e8419c15cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/libvarnishapi/vsm.c
@@ -569,7 +569,7 @@ vsm_vlu_func(void *priv, const char *line)
struct vsm *vd;
struct vsm_set *vs;
int i = -1;
int i = 0;

vd = vs->vsm;

0 comments on commit e9436f6

Please sign in to comment.
You can’t perform that action at this time.