summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/upas/smtp/smtpd.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/src/cmd/upas/smtp/smtpd.c b/sys/src/cmd/upas/smtp/smtpd.c
index 6c75e9399..93926cdba 100644
--- a/sys/src/cmd/upas/smtp/smtpd.c
+++ b/sys/src/cmd/upas/smtp/smtpd.c
@@ -55,23 +55,12 @@ static int
catchalarm(void*, char *msg)
{
int ign;
- static int chattycathy;
ign = strstr(msg, "closed pipe") != nil;
if(ign)
return 0;
- if(chattycathy++ < 5){
- if(senders.first && rcvers.first)
- syslog(0, "smtpd", "note: %s->%s: %s",
- s_to_c(senders.first->p),
- s_to_c(rcvers.first->p), msg);
- else
- syslog(0, "smtpd", "note: %s", msg);
- }
- if(pp){
+ if(pp)
syskill(pp->pid);
- // pp = 0;
- }
return strstr(msg, "alarm") != nil;
}