Skip to content

Commit

Permalink
fix c89 variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Zandbelt committed Dec 12, 2014
1 parent 56fe4f4 commit e0ff3ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cache/redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ static redisReply* oidc_cache_redis_command(request_rec *r,
oidc_cache_cfg_redis_t *context, const char *format, ...) {

redisReply *reply = NULL;
int i = 0;

/* try to execute a command at max 2 times while reconnecting */
for (int i = 0; i < 2; i++) {
for (i = 0; i < 2; i++) {

va_list args;
va_start(args, format);
Expand Down

0 comments on commit e0ff3ee

Please sign in to comment.