minor, but important fixes for client part

This commit is contained in:
2026-03-11 20:24:37 +02:00
parent 1905bab927
commit 55b4ef7d5b
4 changed files with 5 additions and 27 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ void server_main_loop(server_data_t *s_d) {
if (line != NULL && res) {
perform_session_action(sess, line, s_d);
free(line);
if (process_error(sess)) {
if (sess->state == ERR) {
close_session(connections, i);
}
}