Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
de4aebe9
Commit
de4aebe9
authored
Jul 22, 2010
by
antirez
Browse files
fixed a typo preventing compilation
parent
c9c7ecad
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
de4aebe9
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment