Commit 2bed7b05 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

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 '-'.
parent e4534f79
......@@ -579,7 +579,7 @@ vsm_vlu_func(void *priv, const char *line)
{
struct vsm *vd;
struct vsm_set *vs;
int i = -1;
int i = 0;
CAST_OBJ_NOTNULL(vs, priv, VSM_SET_MAGIC);
vd = vs->vsm;
......
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