Commit 18b01764 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Use AF_UNIX in test

parent 1680eaf3
...@@ -63,7 +63,7 @@ TEST(connect_un_noent) { ...@@ -63,7 +63,7 @@ TEST(connect_un_noent) {
assert(rv == REDIS_OK); assert(rv == REDIS_OK);
struct sockaddr_un sa; struct sockaddr_un sa;
sa.sun_family = AF_LOCAL; sa.sun_family = AF_UNIX;
strcpy((char*)&sa.sun_path, "/tmp/idontexist.sock"); strcpy((char*)&sa.sun_path, "/tmp/idontexist.sock");
rv = redis_handle_connect_un(&h, sa); rv = redis_handle_connect_un(&h, sa);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment