/[monit]/monit/http/cervlet.c
ViewVC logotype

Diff of /monit/http/cervlet.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.91 by hauk, Sun Aug 31 21:33:45 2003 UTC revision 1.92 by hauk, Sun Aug 31 21:56:28 2003 UTC
# Line 885  static void print_status(Service_T s, Ht Line 885  static void print_status(Service_T s, Ht
885          if(!available) {          if(!available) {
886            if( Run.httpdssl) {            if( Run.httpdssl) {
887              printf_ssl_socket(res->ssl,              printf_ssl_socket(res->ssl,
888                                "Host '%s'\n\tPort %d is not available\n",                                "Host '%s'\n\tPort %d is not available\n"
889                                s->name, port->port);                                "\tMonitoring status: %s\n",
890                                  s->name, port->port, statusnames[s->do_monitor]);
891            } else {            } else {
892              fprintf(out,              fprintf(out,
893                      "Host '%s'\n\tPort %d is not available\n",                      "Host '%s'\n\tPort %d is not available\n"
894                      s->name, port->port);                      "\tMonitoring status: %s\n",
895                        s->name, port->port, statusnames[s->do_monitor]);
896            }            }
897          } else {          } else {
898            if( Run.httpdssl) {            if( Run.httpdssl) {
899              printf_ssl_socket(res->ssl,              printf_ssl_socket(res->ssl,
900                        "Host '%s'\n\tAll monitored ports are available\n",                                "Host '%s'\n\tAll monitored ports are available\n"
901                                s->name);                                "\tMonitoring status: %s\n",
902                                  s->name, statusnames[s->do_monitor]);
903            } else {            } else {
904              fprintf(out,              fprintf(out,
905                      "Host '%s'\n\tAll monitored ports are available\n",                      "Host '%s'\n\tAll monitored ports are available\n"
906                      s->name);                      "\tMonitoring status: %s\n",
907                        s->name, statusnames[s->do_monitor]);
908            }            }
909          }          }
910        }        }

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26