Commit de4aebe9 authored by antirez's avatar antirez
Browse files

fixed a typo preventing compilation

parent c9c7ecad
...@@ -2932,7 +2932,7 @@ static robj *createStringObject(char *ptr, size_t len) { ...@@ -2932,7 +2932,7 @@ static robj *createStringObject(char *ptr, size_t len) {
static robj *createStringObjectFromLongLong(long long value) { static robj *createStringObjectFromLongLong(long long value) {
robj *o; robj *o;
if (value >= 0 && value < REDIS_SHARED_INTEGERS if (value >= 0 && value < REDIS_SHARED_INTEGERS &&
pthread_equal(pthread_self(),server.mainthread)) { pthread_equal(pthread_self(),server.mainthread)) {
incrRefCount(shared.integers[value]); incrRefCount(shared.integers[value]);
o = shared.integers[value]; o = shared.integers[value];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment