Commit f9ce2111 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Whitespace

parent 6cf2e85b
...@@ -175,7 +175,7 @@ static int redisContextWaitReady(redisContext *c, int fd, const struct timeval * ...@@ -175,7 +175,7 @@ static int redisContextWaitReady(redisContext *c, int fd, const struct timeval *
/* Only use timeout when not NULL. */ /* Only use timeout when not NULL. */
if (timeout != NULL) { if (timeout != NULL) {
if (timeout->tv_usec > 1000000 || timeout->tv_sec > __MAX_MSEC) { if (timeout->tv_usec > 1000000 || timeout->tv_sec > __MAX_MSEC) {
__redisSetErrorFromErrno(c, REDIS_ERR_IO, NULL); __redisSetErrorFromErrno(c, REDIS_ERR_IO, NULL);
close(fd); close(fd);
return REDIS_ERR; return REDIS_ERR;
} }
......
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