diff options
Diffstat (limited to 'CommonLibs/Sockets.cpp')
-rw-r--r-- | CommonLibs/Sockets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CommonLibs/Sockets.cpp b/CommonLibs/Sockets.cpp index a65d62b..11e96dd 100644 --- a/CommonLibs/Sockets.cpp +++ b/CommonLibs/Sockets.cpp @@ -324,6 +324,7 @@ void UDDSocket::open(const char* localPath) void UDDSocket::destination(const char* remotePath) { struct sockaddr_un* unAddr = (struct sockaddr_un*)mDestination; + unAddr->sun_family = AF_UNIX; strcpy(unAddr->sun_path,remotePath); } |