[icinga-checkins] icinga.org: icinga-core/mfriedrich/fixes: Fix segfault in cmd.cgi

git at icinga.org git at icinga.org
Sun Jan 10 08:40:17 CET 2010


Module: icinga-core
Branch: mfriedrich/fixes
Commit: 78eb6318509091e1ba6f5751069ed555bff53113
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=78eb6318509091e1ba6f5751069ed555bff53113

Author: Hendrik Baecker <andurin at process-zero.de>
Date:   Sat Jan  9 12:00:43 2010 +0100

Fix segfault in cmd.cgi

closes #248

---

 cgi/cmd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cgi/cmd.c b/cgi/cmd.c
index 26b8f5a..bf2538c 100644
--- a/cgi/cmd.c
+++ b/cgi/cmd.c
@@ -701,7 +701,7 @@ void request_command_data(int cmd){
 		
 	case CMD_SHUTDOWN_PROCESS:
 	case CMD_RESTART_PROCESS:
-		printf("%s the %s process",(cmd==CMD_SHUTDOWN_PROCESS)?"shutdown":"restart"), PROGRAM_NAME;
+		printf("%s the %s process",(cmd==CMD_SHUTDOWN_PROCESS)?"shutdown":"restart", PROGRAM_NAME);
 		break;
 
 	case CMD_ENABLE_HOST_SVC_CHECKS:





More information about the icinga-checkins mailing list