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
b148513f
Commit
b148513f
authored
Feb 27, 2013
by
antirez
Browse files
Remove warning when printing redisBuildId().
parent
5e9e9699
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
b148513f
...
@@ -1920,7 +1920,7 @@ sds genRedisInfoString(char *section) {
...
@@ -1920,7 +1920,7 @@ sds genRedisInfoString(char *section) {
REDIS_VERSION
,
REDIS_VERSION
,
redisGitSHA1
(),
redisGitSHA1
(),
strtol
(
redisGitDirty
(),
NULL
,
10
)
>
0
,
strtol
(
redisGitDirty
(),
NULL
,
10
)
>
0
,
redisBuildId
(),
(
unsigned
long
long
)
redisBuildId
(),
mode
,
mode
,
name
.
sysname
,
name
.
release
,
name
.
machine
,
name
.
sysname
,
name
.
release
,
name
.
machine
,
server
.
arch_bits
,
server
.
arch_bits
,
...
@@ -2483,7 +2483,7 @@ void version() {
...
@@ -2483,7 +2483,7 @@ void version() {
atoi
(
redisGitDirty
())
>
0
,
atoi
(
redisGitDirty
())
>
0
,
ZMALLOC_LIB
,
ZMALLOC_LIB
,
sizeof
(
long
)
==
4
?
32
:
64
,
sizeof
(
long
)
==
4
?
32
:
64
,
redisBuildId
());
(
unsigned
long
long
)
redisBuildId
());
exit
(
0
);
exit
(
0
);
}
}
...
...
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