aboutsummaryrefslogtreecommitdiff
path: root/btasktd.c
diff options
context:
space:
mode:
authorMr. Goblin <mrgoblin@mrgoblin.net>2026-10-02 23:47:34 +0300
committerMr. Goblin <mrgoblin@mrgoblin.net>2026-10-02 23:47:34 +0300
commite6fa97554b311700b7feb1217abc3648b1799627 (patch)
tree273571cf7f469e99ea8adf754c43d0d8ac70b141 /btasktd.c
parent3acf361aaf072c6ee11ae52f6ef66d9605e97f29 (diff)
added disconnect logging
Diffstat (limited to 'btasktd.c')
-rw-r--r--btasktd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btasktd.c b/btasktd.c
index 388d655..9bef386 100644
--- a/btasktd.c
+++ b/btasktd.c
@@ -219,6 +219,7 @@ handle_user(struct btasktd *this, int id)
if (pu->bi > 0) {
handle_buf(this, id, 0);
}
+ logger_log(log_lvl_info, "user disconnected\n");
close(pu->fd);
reset_user(pu);
return;