diff options
Diffstat (limited to 'ot_http.c')
| -rw-r--r-- | ot_http.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -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 | ||
| 63 | static void http_senddata(const int64_t sock, struct ot_workstruct *ws) { | 62 | static void http_senddata(const int64_t sock, struct ot_workstruct *ws) { |
