diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-09 17:27:41 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-09 17:27:41 +0000 |
commit | 792f302acee3122ed0f9469d8676dbb271f60849 (patch) | |
tree | a3101ae6d85947b48632221e916368e4a10f979a /parse.y | |
parent | 68368f4c29e208c67724b04fd0142e233a247a2a (diff) |
use fatal/fatalx instead of err/errx in daemon code
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -442,7 +442,7 @@ fastcgi : string { | TCP string PORT NUM { char *c; if (asprintf(&c, "%d", $4) == -1) - err(1, "asprintf"); + fatal("asprintf"); loc->fcgi = fastcgi_conf($2, c); free($2); } @@ -476,7 +476,7 @@ medianames_l : medianames_l medianamesl medianamesl : numberstring { if (add_mime(&conf->mime, current_media, $1) == -1) - err(1, "add_mime"); + fatal("add_mime"); free($1); } ; |