We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7caaa78 commit 52cdc9fCopy full SHA for 52cdc9f
1 file changed
src/monitord/monitor_agents.c
@@ -46,7 +46,7 @@ void monitor_agents()
46
47
/* Send disconnected message */
48
snprintf(str, OS_SIZE_1024 - 1, OS_AG_DISCON, *cr_agents);
49
- if (SendMSG(mond.a_queue, str, ARGV0,
+ if (SendMSG(mond.a_queue, str, *cr_agents,
50
LOCALFILE_MQ) < 0) {
51
merror(QUEUE_SEND, ARGV0);
52
}
0 commit comments