sending ssqc on every message loop end

This commit is contained in:
Václav Šmejkal 2024-02-25 14:23:53 +01:00
parent 22282623af
commit b14c8de710
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -665,7 +665,7 @@ void *why2_communicate_thread(void *arg)
json_object_put(json); json_object_put(json);
} }
if (exiting) send_socket_deallocate(WHY2_CHAT_CODE_SSQC, why2_chat_server_config("server_username"), connection); send_socket_deallocate(WHY2_CHAT_CODE_SSQC, why2_chat_server_config("server_username"), connection);
printf("User disconnected.\t%d\n", connection); printf("User disconnected.\t%d\n", connection);