/[monit]/monit/util.c
ViewVC logotype

Diff of /monit/util.c

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

revision 1.147 by martinp, Fri Jan 28 10:39:33 2005 UTC revision 1.148 by martinp, Fri Jan 28 13:17:25 2005 UTC
# Line 506  void Util_printRunList() { Line 506  void Util_printRunList() {
506    printf(" %-18s = %s\n", "Use process engine", Run.doprocess?"True":"False");    printf(" %-18s = %s\n", "Use process engine", Run.doprocess?"True":"False");
507    printf(" %-18s = %d seconds\n", "Poll time", Run.polltime);    printf(" %-18s = %d seconds\n", "Poll time", Run.polltime);
508    
   printf(" %-18s = ", "Collector(s)");  
509    if(Run.collectors) {    if(Run.collectors) {
510        printf(" %-18s = ", "Collector(s)");
511      Collector_T c= Run.collectors;      Collector_T c= Run.collectors;
512      for(c= Run.collectors; c; c= c->next)      for(c= Run.collectors; c; c= c->next)
513      {      {
# Line 568  void Util_printRunList() { Line 568  void Util_printRunList() {
568    
569      printf(" %-18s = %s\n", "httpd auth. style",      printf(" %-18s = %s\n", "httpd auth. style",
570             (Run.credentials!=NULL)&&has_hosts_allow()?             (Run.credentials!=NULL)&&has_hosts_allow()?
571             "Basic Authentication and Host allow list":             "Basic Authentication and Host/Net allow list":
572             (Run.credentials!=NULL)?"Basic Authentication":             (Run.credentials!=NULL)?"Basic Authentication":
573             has_hosts_allow()?"Host allow list":             has_hosts_allow()?"Host/Net allow list":
574             "No authentication!");             "No authentication!");
575            
576    }    }

Legend:
Removed from v.1.147  
changed lines
  Added in v.1.148

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