aboutsummaryrefslogtreecommitdiffstats
path: root/radharc-ipc.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-06 20:10:47 +0100
committerMattias Andrée <m@maandree.se>2025-02-06 20:10:47 +0100
commit49a48f704920d3556beb309f31e2728161da652d (patch)
treef67561da99c4ae35a70cf1ba1254a2f6cb481954 /radharc-ipc.c
parentm + libradharc for client-side protocol implementation (diff)
downloadradharc-master.tar.gz
radharc-master.tar.bz2
radharc-master.tar.xz
fix whitespaceHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'radharc-ipc.c')
-rw-r--r--radharc-ipc.c6
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));