sxt: rdb minor fix;

This commit is contained in:
Alexander Vdolainen 2016-06-26 14:24:10 +03:00
parent 656c8a7254
commit 418d8c7449

View File

@ -270,7 +270,7 @@ uint32_t sxtrdb_write_raw(sxtrdb_t *b, void *wi, uint32_t len)
memcpy((void *)b->raw + b->ulength, (const void *)wi, len);
b->ulength += len;
return sizeof(uint64_t);
return len;
}
/* write raw data *before* existing data */