mirror of
https://github.com/thearcanum/WIFSS
synced 2025-06-12 20:00:10 +02:00
Strings improvements
This commit is contained in:
@ -16,7 +16,7 @@ void* server_communication(void *param)
|
||||
|
||||
if(result <= 0 || !strcmp(buffer, DISCONNECT))
|
||||
{
|
||||
printf("\n\033[35m[Server] is demanding this client disconnection. Stopping now.\033[0m");
|
||||
printf("\n\n\033[35m[Server] is demanding this client disconnection. Stopping now.\033[0m");
|
||||
pthread_cancel(*(threads->cthread));
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
@ -271,7 +271,7 @@ void* on_connection(void *data)
|
||||
|
||||
if(close(client.sock) == -1)
|
||||
{
|
||||
printf("\033[35m[WIFSS] Error while closing the socket of client %d: %s.\033[0m\n\n", client.id, strerror(errno));
|
||||
printf("\033[35m[WIFSS] Warning: couldn\'t close the [Client %d]\'s socket (already closed ?): %s.\033[0m\n\n", client.id, strerror(errno));
|
||||
}
|
||||
|
||||
command_cursor();
|
||||
|
Reference in New Issue
Block a user