|
@@ -223,11 +223,14 @@ int rc_send_server (rc_handle *rh, SEND_DATA *data, char *msg, unsigned flags)
|
|
|
|
|
|
initFdsets(&sets);
|
|
|
|
|
|
+ memset(secret, 0, MAX_SECRET_LENGTH + 1);
|
|
|
+ GetRDSPasswordkStr(secret, &tmpLen);
|
|
|
+/*
|
|
|
if(data->secret != NULL) {
|
|
|
//strlcpy(secret, data->secret, MAX_SECRET_LENGTH);
|
|
|
strlcpy(secret, "R04ekR4MP2", MAX_SECRET_LENGTH);
|
|
|
}
|
|
|
-
|
|
|
+*/
|
|
|
// Устанавливаем сетевые параметры
|
|
|
memset(rcNetParams, 0, 20);
|
|
|
GetRDSIpStr(rcNetParams, &tmpLen);
|