summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ipc/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/ipc.c b/src/ipc/ipc.c
index 44b8b1b..db33329 100755
--- a/src/ipc/ipc.c
+++ b/src/ipc/ipc.c
@@ -87,7 +87,7 @@ int send_ipc_message(int to, ipc_type type, str msg){
log_error("Can't send message to socket %d: %s", to, strerror(errno));
return 1;
}
- send(to, 0, 1, 0);
+ send(to, "\0", 1, 0);
char ack[3];
if(recv(to, ack, 3, 0) == -1){
log_error("Receiving ACK from listener");