From 934658c1e499bb900e3d6899c6d894f35fb597af Mon Sep 17 00:00:00 2001
From: HorlogeSkynet <sam.forestier@gmail.com>
Date: Tue, 30 May 2017 16:59:04 +0200
Subject: [PATCH] Strings improvements

---
 client/commands/commands.c | 2 +-
 server/commands/commands.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/commands/commands.c b/client/commands/commands.c
index 76eabf3..2e9449c 100755
--- a/client/commands/commands.c
+++ b/client/commands/commands.c
@@ -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);
 		}
diff --git a/server/commands/commands.c b/server/commands/commands.c
index c10f9a2..b7aeb76 100755
--- a/server/commands/commands.c
+++ b/server/commands/commands.c
@@ -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();