tremove diagnostic output - 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 c7654831e7c7bc274ca47f940c93392a55a74cb2
(DIR) parent 338931d646f13dcfa659fe1ecebefcc79abdda1b
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 27 Sep 2020 01:10:02 +0200
remove diagnostic output
Diffstat:
M vote.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/vote.c b/vote.c
t@@ -48,8 +48,6 @@ main() {
exit(1);
}
if (stat(POLLS_DIR, &sb) == -1) {
- fprintf(stderr, "dir %s does not exist: %s\n", POLLS_DIR, strerror(errno));
-
if (mkdir(POLLS_DIR, 0755) == -1) {
fprintf(stderr, "mkdir polls/ failed: %s\n", strerror(errno));
OUT("Status: 500 Internal Server Error\r\n\r\n");