aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-08 20:30:21 +0000
committerOmar Polo <op@omarpolo.com>2021-07-09 08:30:55 +0200
commitff954a3e7641e83cca043ecc30789132478c7acd (patch)
tree0efbe6d9439f11333bd33353f59ab8afcd51d4a6 /parse.y
parentd19951cf0373f6217bce2f97489bc46d6a8837ef (diff)
typo...
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index a504b27..4ecee63 100644
--- a/parse.y
+++ b/parse.y
@@ -145,7 +145,7 @@ option : TCHROOT string { conf.chroot = $2; }
config_path, yylval.lineno+1);
add_mime(&conf.mime, $2, $3);
}
- | TMAP string TTOEXT string { add_mime(&conf.mime, $3, $5); }
+ | TMAP string TTOEXT string { add_mime(&conf.mime, $2, $4); }
| TPORT TNUM { conf.port = $2; }
| TPREFORK TNUM { conf.prefork = check_prefork_num($2); }
| TPROTOCOLS string {