-/* $OpenBSD: http.c,v 1.19 2021/04/07 14:26:21 claudio Exp $ */
+/* $OpenBSD: http.c,v 1.20 2021/04/07 16:06:37 deraadt Exp $ */
/*
* Copyright (c) 2020 Nils Fisher <nils_fisher@hotmail.com>
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
active_connections = 0;
for (i = 0; i < MAX_CONNECTIONS; i++) {
struct http_connection *conn = http_conns[i];
+
if (conn == NULL) {
pfds[i].fd = -1;
continue;
-/* $OpenBSD: main.c,v 1.130 2021/04/01 16:40:05 tb Exp $ */
+/* $OpenBSD: main.c,v 1.131 2021/04/07 16:06:37 deraadt Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
err(1, NULL);
tals[s++] = path;
}
- closedir (dirp);
+ closedir(dirp);
return s;
}