aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2015-05-20 13:38:43 +0200
committerGilles Chehade <gilles@poolp.org>2015-05-20 13:38:43 +0200
commitf3b767bb95421a9ce54852001ad76ad00d063bd4 (patch)
treed26a4cf11aa069d4c6488072d86562efeb8e1fbf
parentfix some defines (diff)
downloadOpenSMTPD-f3b767bb95421a9ce54852001ad76ad00d063bd4.tar.xz
OpenSMTPD-f3b767bb95421a9ce54852001ad76ad00d063bd4.zip
fix tag define
-rw-r--r--smtpd/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/smtpd/parse.y b/smtpd/parse.y
index 767b7282..16b3a707 100644
--- a/smtpd/parse.y
+++ b/smtpd/parse.y
@@ -565,7 +565,7 @@ opt_listen : INET4 {
}
listen_opts.options |= LO_TAG;
- if (strlen($2) >= MAX_TAG_SIZE) {
+ if (strlen($2) >= SMTPD_TAG_SIZE) {
yyerror("tag name too long");
free($2);
YYERROR;