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

Diff of /monit/util.c

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

revision 1.76 by martinp, Wed Aug 6 14:51:13 2003 UTC revision 1.77 by martinp, Mon Aug 11 23:30:54 2003 UTC
# Line 533  void printservice(Service_T s) { Line 533  void printservice(Service_T s) {
533    if(s->perm != -1)    if(s->perm != -1)
534      printf(" %-20s = %o\n", "Permission", s->perm);      printf(" %-20s = %o\n", "Permission", s->perm);
535    
536      if(s->uid)
537        printf(" %-20s = if failed %d then %s\n",
538               "UID", (int)s->uid->uid, actionnames[s->uid->action]);
539    
540      if(s->gid)
541        printf(" %-20s = if failed %d then %s\n",
542               "GID", (int)s->gid->gid, actionnames[s->gid->action]);
543    
544    if(s->portlist) {    if(s->portlist) {
545            
546      for(n= s->portlist; n; n= n->next) {      for(n= s->portlist; n; n= n->next) {

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

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