Issue 69 fixed. Object integer encoding now works with replication and MONITORing again.

This commit is contained in:
antirez
2009-10-02 10:23:25 +02:00
parent 724a51b1a9
commit 0ea663ea01
4 changed files with 127 additions and 37 deletions

6
sds.h
View File

@ -32,12 +32,14 @@
#define __SDS_H
#include <sys/types.h>
#include <limits.h>
typedef char *sds;
struct sdshdr {
long len;
long free;
int len;
unsigned short free;
unsigned short _len; /* USHRT_MAX if it is a "long" sds string */
char buf[];
};