diff options
Diffstat (limited to 'radharc-ipc.c')
-rw-r--r-- | radharc-ipc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/radharc-ipc.c b/radharc-ipc.c index 3787d2d..80d7ba7 100644 --- a/radharc-ipc.c +++ b/radharc-ipc.c @@ -77,9 +77,9 @@ main(int argc, char *argv[]) goto fail; /* we need an address, otherwise the peer will not get an address to send the response to */ - memset(&addr, 0, sizeof(addr)); - addr.sun_family = AF_UNIX; - if (bind(sock, (void *)&addr, (socklen_t)offsetof(struct sockaddr_un, sun_path))) + memset(&addr, 0, sizeof(addr)); + addr.sun_family = AF_UNIX; + if (bind(sock, (void *)&addr, (socklen_t)offsetof(struct sockaddr_un, sun_path))) goto fail; socks = calloc((size_t)argc, sizeof(int)); |