Improved signal handling, removed tmpnam()

This commit is contained in:
Nate Choe
2022-04-05 11:59:14 -05:00
parent 00bbd9c1d4
commit 8914e57eec
5 changed files with 64 additions and 8 deletions

View File

@@ -31,9 +31,6 @@
#include <swebs/responses.h>
#include <swebs/responseutil.h>
char *realpath(char *, char *);
/* I don't know why, but realpath breaks on debian. */
static int readResponse(Connection *conn, char *path) {
int fd = -1;
struct stat statbuf;