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

Diff of /monit/spawn.c

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

revision 1.13 by hauk, Fri Sep 6 17:24:53 2002 UTC revision 1.14 by hauk, Fri Sep 13 01:48:37 2002 UTC
# Line 208  static Command_T copy_command(Command_T Line 208  static Command_T copy_command(Command_T
208    
209    for(i= 0; C->arg[i]; i++)    for(i= 0; C->arg[i]; i++)
210        P->arg[i]= xstrdup(C->arg[i]);        P->arg[i]= xstrdup(C->arg[i]);
211      P->arg[i]= NULL;
212    
213    return P;    return P;
214        
# Line 239  static Mail_T create_exec_alert_list(Pro Line 240  static Mail_T create_exec_alert_list(Pro
240                   "Your faithful employee,\nmonit",                   "Your faithful employee,\nmonit",
241                     c->arg[0]?c->arg[0]:"null", p->name);                     c->arg[0]?c->arg[0]:"null", p->name);
242          n->message= message;          n->message= message;
243          if(l)          n->next= l;
             n->next= l;  
244          l= n;          l= n;
245                    
246        }        }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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