aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--btasktd.c1
-rw-r--r--codes.c2
2 files changed, 2 insertions, 1 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;
diff --git a/codes.c b/codes.c
index 1ec22a2..6626a3f 100644
--- a/codes.c
+++ b/codes.c
@@ -18,5 +18,5 @@ code_to_str(int code)
C(413)
C(503)
}
- return "666 UNKNOWN CODE\r\n";
+ return "418 I'm a teapot\r\n";
}