summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/opentracker.c b/opentracker.c
index 6160696..b54327a 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -199,8 +199,6 @@ static void handle_accept(const int64_t serversocket, struct ot_workstruct *ws)
199 199
200 while ((sock = socket_accept(serversocket, ip, &port)) != -1) { 200 while ((sock = socket_accept(serversocket, ip, &port)) != -1) {
201 201
202 socket_set_blocking((int)sock, 0);
203
204 if (!(cookie = (struct http_data *)calloc(1, sizeof(struct http_data)))) { 202 if (!(cookie = (struct http_data *)calloc(1, sizeof(struct http_data)))) {
205 close((int)sock); 203 close((int)sock);
206 continue; 204 continue;