Merge pull request #6368 from suntw2015/unstable

fix rdb function rdbLoadIntegerObject comment
This commit is contained in:
Salvatore Sanfilippo
2019-09-20 11:33:27 +02:00
committed by GitHub

View File

@@ -260,7 +260,7 @@ int rdbEncodeInteger(long long value, unsigned char *enc) {
/* Loads an integer-encoded object with the specified encoding type "enctype".
* The returned value changes according to the flags, see
* rdbGenerincLoadStringObject() for more info. */
* rdbGenericLoadStringObject() for more info. */
void *rdbLoadIntegerObject(rio *rdb, int enctype, int flags, size_t *lenptr) {
int plain = flags & RDB_LOAD_PLAIN;
int sds = flags & RDB_LOAD_SDS;