1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-02 22:43:36 +00:00

Update to 5.13.1 (1829)

This commit is contained in:
DrKLO 2020-01-06 17:02:23 +03:00
parent 06f4895201
commit 31736964fa
3 changed files with 45 additions and 45 deletions

View File

@ -283,7 +283,7 @@ android {
} }
} }
defaultConfig.versionCode = 1828 defaultConfig.versionCode = 1829
applicationVariants.all { variant -> applicationVariants.all { variant ->
variant.outputs.all { output -> variant.outputs.all { output ->

View File

@ -576,7 +576,7 @@ bool NetworkSocketPosix::Select(std::vector<NetworkSocket *> &readFds, std::vect
if (sfd > 0 && FD_ISSET(sfd, &readSet)) { if (sfd > 0 && FD_ISSET(sfd, &readSet)) {
(*itr)->lastSuccessfulOperationTime = VoIPController::GetCurrentTime(); (*itr)->lastSuccessfulOperationTime = VoIPController::GetCurrentTime();
} }
if (sfd == 0 || !FD_ISSET(sfd, &readSet) || !(*itr)->OnReadyToReceive()) { if (sfd <= 0 || !FD_ISSET(sfd, &readSet) || !(*itr)->OnReadyToReceive()) {
itr = readFds.erase(itr); itr = readFds.erase(itr);
} else { } else {
++itr; ++itr;
@ -586,7 +586,7 @@ bool NetworkSocketPosix::Select(std::vector<NetworkSocket *> &readFds, std::vect
itr = writeFds.begin(); itr = writeFds.begin();
while (itr != writeFds.end()) { while (itr != writeFds.end()) {
int sfd = GetDescriptorFromSocket(*itr); int sfd = GetDescriptorFromSocket(*itr);
if(sfd==0 || !FD_ISSET(sfd, &writeSet)){ if (sfd <= 0 || !FD_ISSET(sfd, &writeSet)) {
itr = writeFds.erase(itr); itr = writeFds.erase(itr);
} else { } else {
LOGV("Socket %d is ready to send", sfd); LOGV("Socket %d is ready to send", sfd);
@ -601,7 +601,7 @@ bool NetworkSocketPosix::Select(std::vector<NetworkSocket *> &readFds, std::vect
itr = errorFds.begin(); itr = errorFds.begin();
while (itr != errorFds.end()) { while (itr != errorFds.end()) {
int sfd = GetDescriptorFromSocket(*itr); int sfd = GetDescriptorFromSocket(*itr);
if((sfd==0 || !FD_ISSET(sfd, &errorSet)) && !(*itr)->IsFailed()){ if ((sfd <= 0 || !FD_ISSET(sfd, &errorSet)) && !(*itr)->IsFailed()) {
itr = errorFds.erase(itr); itr = errorFds.erase(itr);
} else { } else {
++itr; ++itr;

View File

@ -19,7 +19,7 @@ public class BuildVars {
public static boolean USE_CLOUD_STRINGS = true; public static boolean USE_CLOUD_STRINGS = true;
public static boolean CHECK_UPDATES = true; public static boolean CHECK_UPDATES = true;
public static boolean TON_WALLET_STANDALONE = false; public static boolean TON_WALLET_STANDALONE = false;
public static int BUILD_VERSION = 1828; public static int BUILD_VERSION = 1829;
public static String BUILD_VERSION_STRING = "5.13.0"; public static String BUILD_VERSION_STRING = "5.13.0";
public static int APP_ID = 4; public static int APP_ID = 4;
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103"; public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";