Update src/refdb_fs.c Co-authored-by: Edward Thomson <ethomson@github.com>
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 8bb6cee..65bbf66 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -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;