Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Jan 9, 2025
1 parent 190990c commit 722a022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ti/ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct per_vhost_data__minimal {
const struct lws_protocols *protocol;
};

static void ws__drop_req(ti_write_t * req)
static void ws__kill_req(ti_write_t * req)
{
req->cb_(req, EX_WRITE_UV);
}
Expand Down Expand Up @@ -204,7 +204,7 @@ int ws__callback(
case LWS_CALLBACK_CLOSED:
if (pss->stream)
{
queue_destroy(pss->queue, (queue_destroy_cb) ws__drop_req);
queue_destroy(pss->queue, (queue_destroy_cb) ws__kill_req);
ti_stream_close(pss->stream);
}
break;
Expand Down

0 comments on commit 722a022

Please sign in to comment.