Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
53d9b12b
Commit
53d9b12b
authored
Dec 06, 2018
by
Mark Nunberg
Browse files
Fix bug in options macro
parent
deba8d95
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiredis.h
View file @
53d9b12b
...
...
@@ -153,7 +153,7 @@ typedef struct {
#define REDIS_OPTIONS_SET_TCP(opts, ip_, port_) \
(opts)->type = REDIS_CONN_TCP; \
(opts)->endpoint.tcp.ip = ip_; \
(opts)->endpoint.tcp.port = port;
(opts)->endpoint.tcp.port = port
_
;
#define REDIS_OPTIONS_SET_UNIX(opts, path) \
(opts)->type = REDIS_CONN_UNIX; \
...
...
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