X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fclient.c;h=fbda5cd8eddfb3e4aaffeaa5b84693230eed8433;hb=cea5d06318c86c9652cad5c4fefa39fa2e9745ac;hp=ad2d2a3725fec85cbdf5765e2a468fe8f25dc3be;hpb=194b8961ce560e233440017a65ec1758b3e6b5ec;p=pazpar2-moved-to-github.git diff --git a/src/client.c b/src/client.c index ad2d2a3..fbda5cd 100644 --- a/src/client.c +++ b/src/client.c @@ -1169,6 +1169,12 @@ void client_disconnect(struct client *cl) client_set_connection(cl, 0); } +void client_mark_dead(struct client *cl) +{ + if (cl->connection) + connection_mark_dead(cl->connection); +} + void client_stop(struct client *cl) { client_lock(cl);