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
5fa41e0c
Commit
5fa41e0c
authored
Nov 03, 2018
by
michael-grunder
Browse files
Use typedef'd mstime_t instead of time_t
This fixes an overflow on 32-bit systems.
parent
edce5150
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
5fa41e0c
...
...
@@ -2155,7 +2155,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