/[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.39 by martinp, Sat Nov 30 00:44:45 2002 UTC revision 1.40 by martinp, Sun Dec 1 17:27:43 2002 UTC
# Line 580  static void do_process(HttpRequest req, Line 580  static void do_process(HttpRequest req,
580    out_print(res,    out_print(res,
581      "<tr><td>Group</a></td><td><font color='#0000ff'>%s</font></td></tr>",      "<tr><td>Group</a></td><td><font color='#0000ff'>%s</font></td></tr>",
582              p->group?p->group:"(not defined)");              p->group?p->group:"(not defined)");
   {  
     Dependant_T d;  
     for(d= p->dependantlist; d; d=p->dependantlist->next) {  
       if(d->dependant != NULL) {  
         out_print(res,"<tr><td>Dependant Process </a></td>"  
                   "<td> <a href=%s> %s </a></td></tr>",  
                   d->dependant, d->dependant);  
       }  
     if(d->next == NULL)  
       break;  
     }  
   }  
583    out_print(res,    out_print(res,
584      "<tr><td>Process id </a></td><td>%d</td></tr>", run);      "<tr><td>Process id </a></td><td>%d</td></tr>", run);
585    out_print(res,    out_print(res,
# Line 618  static void do_process(HttpRequest req, Line 606  static void do_process(HttpRequest req,
606          out_print(res, "<tr><td>Associated checksum</a></td><td>%s %s</td>"          out_print(res, "<tr><td>Associated checksum</a></td><td>%s %s</td>"
607                    "</tr>", c->md5, c->file);                    "</tr>", c->md5, c->file);
608    }    }
609      {
610        Dependant_T d;
611    
612        for(d= p->dependantlist; d; d= d->next) {
613          if(d->dependant != NULL) {
614            out_print(res,"<tr><td>Dependant Process </a></td>"
615                      "<td> <a href=%s> %s </a></td></tr>",
616                      d->dependant, d->dependant);
617          }
618        }
619      }
620    if ( Run.doprocess ) {    if ( Run.doprocess ) {
621      ProcInfo_T pi= p->procinfo;      ProcInfo_T pi= p->procinfo;
622    

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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