IPC: fix call to QB_SUN_LEN

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2013-03-12 20:45:47 +11:00
parent c77c0a98ef
commit 75a550d8d3

View File

@ -47,7 +47,7 @@ set_sock_addr(struct sockaddr_un *address, const char *socket_name)
memset(address, 0, sizeof(struct sockaddr_un));
address->sun_family = AF_UNIX;
#ifdef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN
address->sun_len = QB_SUN_LEN(&address);
address->sun_len = QB_SUN_LEN(address);
#endif
#if defined(QB_LINUX) || defined(QB_CYGWIN)