Unverified Commit 0df53fd6 by Colin Stolley Committed by GitHub

Update src/refdb_fs.c

Co-authored-by: Edward Thomson <ethomson@github.com>
parent 3f52f7b9
......@@ -579,9 +579,8 @@ static const char *end_of_record(const char *p, const char *end)
while (1) {
size_t sz = end - p;
p = memchr(p, '\n', sz);
if (!p) {
if (!p)
return end;
}
++p;
if (p < end && p[0] == '^')
++p;
......
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