[Nagiosplug-checkins] CVS: nagiosplug/plugins check_http.c,1.63,1.64
Matthew Kent
mattkent at users.sourceforge.net
Sat Nov 20 13:38:01 CET 2004
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32661
Modified Files:
check_http.c
Log Message:
Bit of cleanup, fix verbose output.
Index: check_http.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_http.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -r1.63 -r1.64
*** check_http.c 19 Nov 2004 02:53:11 -0000 1.63
--- check_http.c 20 Nov 2004 21:36:52 -0000 1.64
***************
*** 155,160 ****
if (display_html == TRUE)
! printf ("<A HREF=\"%s%s:%d%s\" target=\"_blank\">",
! use_ssl ? "https://" : "http://", host_name,
server_port, server_url);
--- 155,160 ----
if (display_html == TRUE)
! printf ("<A HREF=\"%s://%s:%d%s\" target=\"_blank\">",
! use_ssl ? "https" : "http", host_name,
server_port, server_url);
***************
*** 506,511 ****
document_headers_done (char *full_page)
{
! const char *body, *s;
! const char *end;
for (body = full_page; *body; body++) {
--- 506,510 ----
document_headers_done (char *full_page)
{
! const char *body;
for (body = full_page; *body; body++) {
***************
*** 843,847 ****
if (verbose)
! printf ("%s://%s:%d%s is %d characters\n", server_type, server_address, server_port, server_url, pagesize);
/* find status line and null-terminate it */
--- 842,848 ----
if (verbose)
! printf ("%s://%s:%d%s is %d characters\n",
! use_ssl ? "https" : "http", server_address,
! server_port, server_url, pagesize);
/* find status line and null-terminate it */
More information about the Commits
mailing list