Changed Update check error message if connection fails
This commit is contained in:
parent
0f22821c83
commit
b390d72a7d
2 changed files with 2 additions and 2 deletions
2
main.c
2
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(){
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue