Skip to content

Commit 722a022

Browse files
committed
rename
1 parent 190990c commit 722a022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ti/ws.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ struct per_vhost_data__minimal {
176176
const struct lws_protocols *protocol;
177177
};
178178

179-
static void ws__drop_req(ti_write_t * req)
179+
static void ws__kill_req(ti_write_t * req)
180180
{
181181
req->cb_(req, EX_WRITE_UV);
182182
}
@@ -204,7 +204,7 @@ int ws__callback(
204204
case LWS_CALLBACK_CLOSED:
205205
if (pss->stream)
206206
{
207-
queue_destroy(pss->queue, (queue_destroy_cb) ws__drop_req);
207+
queue_destroy(pss->queue, (queue_destroy_cb) ws__kill_req);
208208
ti_stream_close(pss->stream);
209209
}
210210
break;

0 commit comments

Comments
 (0)