sxt: rdb minor fix;

master
Alexander Vdolainen 9 years ago
parent 656c8a7254
commit 418d8c7449

@ -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); memcpy((void *)b->raw + b->ulength, (const void *)wi, len);
b->ulength += len; b->ulength += len;
return sizeof(uint64_t); return len;
} }
/* write raw data *before* existing data */ /* write raw data *before* existing data */

Loading…
Cancel
Save