From b390d72a7d179e5d9d15a99e7cd3977c9150754d Mon Sep 17 00:00:00 2001 From: netbenixcn Date: Fri, 24 Jul 2020 16:32:45 +0200 Subject: [PATCH] Changed Update check error message if connection fails --- main.c | 2 +- utils/update_check.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 6a65439..e1ce72a 100644 --- a/main.c +++ b/main.c @@ -19,7 +19,7 @@ #include "utils/update_check.h" -#define VERSION "0.2.1" +#define VERSION "0.2.2" #define AUTHOR "netbenix" void exit_app(){ diff --git a/utils/update_check.c b/utils/update_check.c index 353d8e1..2487e07 100644 --- a/utils/update_check.c +++ b/utils/update_check.c @@ -23,7 +23,7 @@ int checkForUpdate(char ver[10]){ //Connect to Server if(connect(sock, (struct sockaddr *)&server, sizeof(server)) < 0){ - perror("Error. Connnection failed."); + perror("Error. Connnection to update server failed."); logger("[ERROR] Connection to update server failed."); return 1; }