tvote.c: don't print to stderr on 404 - vote - simple cgi voting system for web and gopher (HTM) git clone git://src.adamsgaard.dk/vote (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 9afaec1473d2044388e45ede5f1a4ed38d198939 (DIR) parent 3934b097745f258d593dc8eaf39073e60e1872fc (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 09:14:36 +0200 vote.c: don't print to stderr on 404 Diffstat: M vote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/vote.c b/vote.c t@@ -65,7 +65,7 @@ show_poll(const char *poll_name) if (!(fd = fopen(fname, "r"))) { http_status(404); - err(1, "poll_open fopen %s", poll); + exit(1); } else { fclose(fd); }