[Nagiosplug-checkins] CVS: nagiosplug/plugins check_http.c,1.62,1.63
Matthew Kent
mattkent at users.sourceforge.net
Thu Nov 18 19:14:16 CET 2004
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27429
Modified Files:
check_http.c
Log Message:
Make -L notice ssl use to output a proper href (1035234, Abid Rasheed)
Index: check_http.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_http.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -r1.62 -r1.63
*** check_http.c 19 Nov 2004 00:12:55 -0000 1.62
--- check_http.c 19 Nov 2004 02:53:11 -0000 1.63
***************
*** 155,160 ****
if (display_html == TRUE)
! printf ("<A HREF=\"http://%s:%d%s\" target=\"_blank\">",
! host_name, server_port, server_url);
/* initialize alarm signal handling, set socket timeout, start timer */
--- 155,161 ----
if (display_html == TRUE)
! printf ("<A HREF=\"%s%s:%d%s\" target=\"_blank\">",
! use_ssl ? "https://" : "http://", host_name,
! server_port, server_url);
/* initialize alarm signal handling, set socket timeout, start timer */
More information about the Commits
mailing list