sending ssqc on every message loop end
This commit is contained in:
parent
22282623af
commit
b14c8de710
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user