[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: fix typo: "stye" instead of "style " in cgi/tac.c

git at icinga.org git at icinga.org
Tue May 25 13:31:35 CEST 2010


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

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue May 25 13:31:31 2010 +0200

fix typo: "stye" instead of "style" in cgi/tac.c

fixes #458

---

 Changelog |    1 +
 cgi/tac.c |   10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Changelog b/Changelog
index 23b518f..d6ab2f8 100644
--- a/Changelog
+++ b/Changelog
@@ -69,6 +69,7 @@ FIXES
 
 * cgi: minor cleanups to cgiutils.c (Eric Sesterhenn)
 * cgi: fix cmd.cgi incomplete output for command description
+* cgi: fix typo: "stye" instead of "style" in cgi/tac.c
 
 * idoutils: Host DB inserts use string 'NULL\n' instead of NULL (William Preston)
 * idoutils: ndo2db_get_object_id fails to return existing IDs (William Preston)
diff --git a/cgi/tac.c b/cgi/tac.c
index 3348d3f..8fb249d 100644
--- a/cgi/tac.c
+++ b/cgi/tac.c
@@ -1306,11 +1306,11 @@ void display_tac_overview(void){
 	printf("<tr><td colspan=5 height=20 class='serviceTitle'> Services</td></tr>\n");
 
 	printf("<tr>\n");
-	printf("<td class='serviceHeader' width=125><a href='%s?host=all&stye=detail&servicestatustypes=%d' class='serviceHeader'>%d Critical</a></td>\n",STATUS_CGI,SERVICE_CRITICAL,services_critical);
-	printf("<td class='serviceHeader' width=125><a href='%s?host=all&stye=detail&servicestatustypes=%d' class='serviceHeader'>%d Warning</a></td>\n",STATUS_CGI,SERVICE_WARNING,services_warning);
-	printf("<td class='serviceHeader' width=125><a href='%s?host=all&stye=detail&servicestatustypes=%d' class='serviceHeader'>%d Unknown</a></td>\n",STATUS_CGI,SERVICE_UNKNOWN,services_unknown);
-	printf("<td class='serviceHeader' width=125><a href='%s?host=all&stye=detail&servicestatustypes=%d' class='serviceHeader'>%d Ok</a></td>\n",STATUS_CGI,SERVICE_OK,services_ok);
-	printf("<td class='serviceHeader' width=125><a href='%s?host=all&stye=detail&servicestatustypes=%d' class='serviceHeader'>%d Pending</a></td>\n",STATUS_CGI,SERVICE_PENDING,services_pending);
+	printf("<td class='serviceHeader' width=125><a href='%s?host=all&style=detail&servicestatustypes=%d' class='serviceHeader'>%d Critical</a></td>\n",STATUS_CGI,SERVICE_CRITICAL,services_critical);
+	printf("<td class='serviceHeader' width=125><a href='%s?host=all&style=detail&servicestatustypes=%d' class='serviceHeader'>%d Warning</a></td>\n",STATUS_CGI,SERVICE_WARNING,services_warning);
+	printf("<td class='serviceHeader' width=125><a href='%s?host=all&style=detail&servicestatustypes=%d' class='serviceHeader'>%d Unknown</a></td>\n",STATUS_CGI,SERVICE_UNKNOWN,services_unknown);
+	printf("<td class='serviceHeader' width=125><a href='%s?host=all&style=detail&servicestatustypes=%d' class='serviceHeader'>%d Ok</a></td>\n",STATUS_CGI,SERVICE_OK,services_ok);
+	printf("<td class='serviceHeader' width=125><a href='%s?host=all&style=detail&servicestatustypes=%d' class='serviceHeader'>%d Pending</a></td>\n",STATUS_CGI,SERVICE_PENDING,services_pending);
 	printf("</tr>\n");
 
 	printf("<tr>\n");





More information about the icinga-checkins mailing list