1
0
mirror of https://github.com/thearcanum/WIFSS synced 2025-06-12 20:00:10 +02:00

Strings improvements

This commit is contained in:
HorlogeSkynet
2017-05-30 16:59:04 +02:00
parent 9b7a338aef
commit 934658c1e4
2 changed files with 2 additions and 2 deletions
client/commands
server/commands

@ -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();