Browse Source

Don't fail on last seek in json_append_bkeys

master
ckolivas 9 years ago
parent
commit
5c289b9cb5
  1. 5
      src/libckpool.c

5
src/libckpool.c

@ -1445,11 +1445,6 @@ bool _json_append_bkeys(json_t *val, const char *bkey, const uint32_t len, const
json_set_string(val, key, hex);
free(hex);
ofs += binlen;
if (unlikely(ofs >= len)) {
LOGDEBUG("Unable to seek to bkey offset %u beyond length %d",
ofs, len);
return false;
}
}
return true;
}

Loading…
Cancel
Save