Skip to content

Commit

Permalink
cachedb_redis_dbase: Fix the type of port with unsigned short.
Browse files Browse the repository at this point in the history
(cherry picked from commit 59b0760)
  • Loading branch information
nphantom authored and liviuchircu committed Oct 11, 2023
1 parent 0f75f92 commit b5f166e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/cachedb_redis/cachedb_redis_dbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
#endif

typedef struct cluster_nodes {
char *ip; /* ip of this cluster node */
short port; /* port of this cluster node */
unsigned short start_slot; /* first slot for this server */
unsigned short end_slot; /* last slot for this server */
char *ip; /* ip of this cluster node */
unsigned short port; /* port of this cluster node */
unsigned short start_slot; /* first slot for this server */
unsigned short end_slot; /* last slot for this server */

redisContext *context; /* actual connection to this node */
redisContext *context; /* actual connection to this node */
struct tls_domain *tls_dom;

struct cluster_nodes *next;
Expand Down

0 comments on commit b5f166e

Please sign in to comment.