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
b49bcd01
Commit
b49bcd01
authored
Nov 03, 2018
by
michael-grunder
Committed by
antirez
Nov 05, 2018
Browse files
Use typedef'd mstime_t instead of time_t
This fixes an overflow on 32-bit systems.
parent
09d1849e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
b49bcd01
...
...
@@ -2159,7 +2159,7 @@ void xclaimCommand(client *c) {
/* If we stopped because some IDs cannot be parsed, perhaps they
* are trailing options. */
time_t
now
=
mstime
();
ms
time_t
now
=
mstime
();
streamID
last_id
=
{
0
,
0
};
int
propagate_last_id
=
0
;
for
(;
j
<
c
->
argc
;
j
++
)
{
...
...
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