diff --git a/main.c b/main.c index 52d6f35..416ad69 100644 --- a/main.c +++ b/main.c @@ -84,7 +84,8 @@ sStartListener(); while (1) { - if (sGetConnections(&readset) != 0x0) { + if (sGetConnections(&readset) == 0x0) { + writeLog(0,"Error: sGetConnections Failed\nShuttown Down\n"); exit(0x0); } diff --git a/tuved.h b/tuved.h index 25368e9..ed88e02 100644 --- a/tuved.h +++ b/tuved.h @@ -25,7 +25,7 @@ #define MAX_USER_LEN 32 #define MAX_BANS 30 #define VERSION "v0.40" -#define MYSQL_HOST_NAME "www.ubixonline.com" +#define MYSQL_HOST_NAME "ubuse.ubixos.com" #define MYSQL_USERNAME "tuve" #define MYSQL_PASSWORD "5558585" #define MYSQL_DB_NAME "tuve"