summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ot_http.c b/ot_http.c
index c2f7e5e..d4c7363 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -56,8 +56,7 @@ void http_close(const int64_t sock) {
56 free(cookie); 56 free(cookie);
57 } 57 }
58 58
59 event_del((int)sock); 59 event_close((int)sock);
60 close((int)sock);
61} 60}
62 61
63static void http_senddata(const int64_t sock, struct ot_workstruct *ws) { 62static void http_senddata(const int64_t sock, struct ot_workstruct *ws) {