"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "base/commands.c" between
nagios-4.4.3.tar.gz and nagios-4.4.4.tar.gz

About: Nagios (Core) is an host/service/network monitoring system to identify and resolve IT infrastructure problems.

commands.c  (nagios-4.4.3):commands.c  (nagios-4.4.4)
skipping to change at line 162 skipping to change at line 162
return 0; return 0;
} }
while ((buf = iocache_use_delim(command_worker.ioc, "\n", 1, &size))) { while ((buf = iocache_use_delim(command_worker.ioc, "\n", 1, &size))) {
if (buf[0] == '[') { if (buf[0] == '[') {
/* raw external command */ /* raw external command */
buf[size] = 0; buf[size] = 0;
log_debug_info(DEBUGL_COMMANDS, 1, "Read raw external com mand '%s'\n", buf); log_debug_info(DEBUGL_COMMANDS, 1, "Read raw external com mand '%s'\n", buf);
} }
if ((cmd_ret = process_external_command1(buf)) != CMD_ERROR_OK) { if ((cmd_ret = process_external_command1(buf)) != CMD_ERROR_OK) {
logit(NSLOG_EXTERNAL_COMMAND | NSLOG_RUNTIME_WARNING, TRU E, "External command error: %s\n", cmd_error_strerror(cmd_ret)); logit(NSLOG_EXTERNAL_COMMAND | NSLOG_RUNTIME_WARNING, TRU E, "External command %s returned error %s\n", buf, cmd_error_strerror(cmd_ret));
} }
} }
return 0; return 0;
} }
/* main controller of command file helper process */ /* main controller of command file helper process */
static int command_file_worker(int sd) { static int command_file_worker(int sd) {
iocache *ioc; iocache *ioc;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)