188 |
|
|
189 |
switch(pr->action) { |
switch(pr->action) { |
190 |
case ACTION_ALERT: |
case ACTION_ALERT: |
191 |
|
if(p->def_timeout) p->nstart++; |
192 |
smtp_alert_resource(p, "Reason: %s\n", report); |
smtp_alert_resource(p, "Reason: %s\n", report); |
193 |
/* We are also interested in other alerts/stops/restarts! */ |
/* We are also interested in other alerts/stops/restarts! */ |
194 |
pr->cycle=0; |
pr->cycle=0; |
227 |
|
|
228 |
switch(tl->action) { |
switch(tl->action) { |
229 |
case ACTION_ALERT: |
case ACTION_ALERT: |
230 |
|
if(p->def_timeout) p->nstart++; |
231 |
smtp_alert_timestamp(p, "Reason: %s\n", report); |
smtp_alert_timestamp(p, "Reason: %s\n", report); |
232 |
break; /* continue */ |
break; /* continue */ |
233 |
|
|