mirror of
https://github.com/fluencelabs/redis
synced 2025-05-25 08:31:18 +00:00
parent
1580a378b8
commit
ef12b4c3eb
@ -687,7 +687,7 @@ int rdbSave(char *filename) {
|
||||
* loading code skips the check in this case. */
|
||||
cksum = rdb.cksum;
|
||||
memrev64ifbe(&cksum);
|
||||
rioWrite(&rdb,&cksum,8);
|
||||
if (rioWrite(&rdb,&cksum,8) == 0) goto werr;
|
||||
|
||||
/* Make sure data will not remain on the OS's output buffers */
|
||||
if (fflush(fp) == EOF) goto werr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user