Skip to content

Commit

Permalink
ndb_redis: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent abb9ece commit 2ef9e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/ndb_redis/redis_client.c
Expand Up @@ -140,9 +140,9 @@ int redisc_init(void)
pit->body.s);
haspass = 1;
#ifdef WITH_SSL
} else if(pit->name.len == 3
} else if(pit->name.len == 3
&& strncmp(pit->name.s, "tls", 3) == 0) {
snprintf(pass, sizeof(pass) - 1, "%.*s", pit->body.len,
snprintf(pass, sizeof(pass) - 1, "%.*s", pit->body.len,
pit->body.s);
if(str2int(&pit->body, &enable_ssl) < 0)
enable_ssl = 0;
Expand Down

0 comments on commit 2ef9e45

Please sign in to comment.