summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2023-01-06 09:02:00 +0000
committerThomas Adam <thomas@xteddy.org>2023-01-06 09:02:00 +0000
commit21e00e46359478f95c15f1672e5796e86eb0f529 (patch)
tree12e23d6fe45d82cdd73373d3b3566bada6fce4f2 /client.c
parent70ff8cfe1e06987501a55a32df31d1f69acd2f99 (diff)
parent09afc6c8ee971918d925c441c41a9de7f598efb7 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client.c b/client.c
index 7f712ffb..374c1146 100644
--- a/client.c
+++ b/client.c
@@ -700,6 +700,9 @@ client_dispatch_wait(struct imsg *imsg)
!(client_flags & CLIENT_CONTROL), client_file_check_cb,
NULL);
break;
+ case MSG_READ_CANCEL:
+ file_read_cancel(&client_files, imsg);
+ break;
case MSG_WRITE_OPEN:
file_write_open(&client_files, client_peer, imsg, 1,
!(client_flags & CLIENT_CONTROL), client_file_check_cb,