diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-23 16:23:59 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-23 16:23:59 +0000 |
commit | fc2d207c79125ffd80a6819b50981d9401232660 (patch) | |
tree | bc77048f04c996dccf64f5dffdbc7079e9af73bd /parse.y | |
parent | c5ded53a8e37b5812d3648c4247ba9f4cc6f2028 (diff) |
use host->domain to report errors, $2 is free'd
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -260,7 +260,8 @@ vhost : SERVER string { } '{' optnl servbody '}' { if (host->cert_path == NULL || host->key_path == NULL) - yyerror("invalid vhost definition: %s", $2); + yyerror("invalid vhost definition: %s", + host->domain); } | error '}' { yyerror("bad server directive"); } ; |