Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
18b01764
Commit
18b01764
authored
Oct 23, 2012
by
Pieter Noordhuis
Browse files
Use AF_UNIX in test
parent
1680eaf3
Changes
1
Show whitespace changes
Inline
Side-by-side
test/test-handle.c
View file @
18b01764
...
...
@@ -63,7 +63,7 @@ TEST(connect_un_noent) {
assert
(
rv
==
REDIS_OK
);
struct
sockaddr_un
sa
;
sa
.
sun_family
=
AF_
LOCAL
;
sa
.
sun_family
=
AF_
UNIX
;
strcpy
((
char
*
)
&
sa
.
sun_path
,
"/tmp/idontexist.sock"
);
rv
=
redis_handle_connect_un
(
&
h
,
sa
);
...
...
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