diff options
Diffstat (limited to 'src/cmd/upas/smtp')
-rw-r--r-- | src/cmd/upas/smtp/mxdial.c | 2 | ||||
-rw-r--r-- | src/cmd/upas/smtp/rfc822.tab.c | 2 | ||||
-rw-r--r-- | src/cmd/upas/smtp/smtp.c | 4 | ||||
-rw-r--r-- | src/cmd/upas/smtp/smtpd.h | 2 | ||||
-rw-r--r-- | src/cmd/upas/smtp/spam.c | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/cmd/upas/smtp/mxdial.c b/src/cmd/upas/smtp/mxdial.c index 47ff9ecc..d68a5d16 100644 --- a/src/cmd/upas/smtp/mxdial.c +++ b/src/cmd/upas/smtp/mxdial.c @@ -6,7 +6,7 @@ enum { Nmx= 16, - Maxstring= 256, + Maxstring= 256 }; typedef struct Mx Mx; diff --git a/src/cmd/upas/smtp/rfc822.tab.c b/src/cmd/upas/smtp/rfc822.tab.c index 1f12e48e..cacf8672 100644 --- a/src/cmd/upas/smtp/rfc822.tab.c +++ b/src/cmd/upas/smtp/rfc822.tab.c @@ -603,7 +603,7 @@ static const short yyexca[] = 31, 72, 32, 72, 35, 72, - -2, 74, + -2, 74 }; #define YYNPROD 122 #define YYPRIVATE 57344 diff --git a/src/cmd/upas/smtp/smtp.c b/src/cmd/upas/smtp/smtp.c index d3297dfa..fd867cd6 100644 --- a/src/cmd/upas/smtp/smtp.c +++ b/src/cmd/upas/smtp/smtp.c @@ -179,7 +179,7 @@ threadmain(int argc, char **argv) if(*argv == 0) usage(); addr = *argv++; argc--; - // expand $smtp if necessary + /* expand $smtp if necessary */ addr = expand_addr(addr); farend = addr; @@ -359,7 +359,7 @@ dotls(char *me) h = malloc(2*sizeof hash + 1); if (h != nil) { enc16(h, 2*sizeof hash + 1, hash, sizeof hash); - // print("x509 sha1=%s", h); + /* print("x509 sha1=%s", h); */ syslog(0, "smtp", "remote cert. has bad thumbprint: x509 sha1=%s server=%q", h, ddomain); diff --git a/src/cmd/upas/smtp/smtpd.h b/src/cmd/upas/smtp/smtpd.h index 3a8e60e2..bb982a2f 100644 --- a/src/cmd/upas/smtp/smtpd.h +++ b/src/cmd/upas/smtp/smtpd.h @@ -8,7 +8,7 @@ enum { TRUSTED, NONE, - MAXREJECTS = 100, + MAXREJECTS = 100 }; diff --git a/src/cmd/upas/smtp/spam.c b/src/cmd/upas/smtp/spam.c index a4d49485..723e341d 100644 --- a/src/cmd/upas/smtp/spam.c +++ b/src/cmd/upas/smtp/spam.c @@ -11,7 +11,7 @@ enum { OURDOMS, IP = 0, - STRING, + STRING }; @@ -29,7 +29,7 @@ static Keyword options[] = { "defaultdomain", DOMNAME, "ournets", OURNETS, "ourdomains", OURDOMS, - 0, NONE, + 0, NONE }; static Keyword actions[] = { @@ -38,7 +38,7 @@ static Keyword actions[] = { "deny", DENIED, "dial", DIALUP, "delay", DELAY, - 0, NONE, + 0, NONE }; static int hisaction; |