summaryrefslogtreecommitdiff
path: root/src/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc')
-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 c23af9a..73adb32 100755
--- a/src/ipc/ipc.c
+++ b/src/ipc/ipc.c
@@ -91,7 +91,7 @@ int send_ipc_message(int to, ipc_type type, str msg){
log_error("Receiving ACK from listener");
return 1;
}
- if(strncmp(ack, "ACK", 2) != 0){
+ if(strncmp(ack, "ACK", 3) != 0){
log_error("Received '%.3s' from listener instead of 'ACK'", ack);
return 1;
}