mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 06:25:14 +01:00
Update to 5.13.1 (1829)
This commit is contained in:
parent
06f4895201
commit
31736964fa
3 changed files with 45 additions and 45 deletions
|
@ -283,7 +283,7 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
defaultConfig.versionCode = 1828
|
||||
defaultConfig.versionCode = 1829
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.all { output ->
|
||||
|
|
|
@ -576,7 +576,7 @@ bool NetworkSocketPosix::Select(std::vector<NetworkSocket *> &readFds, std::vect
|
|||
if (sfd > 0 && FD_ISSET(sfd, &readSet)) {
|
||||
(*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);
|
||||
} else {
|
||||
++itr;
|
||||
|
@ -586,7 +586,7 @@ bool NetworkSocketPosix::Select(std::vector<NetworkSocket *> &readFds, std::vect
|
|||
itr = writeFds.begin();
|
||||
while (itr != writeFds.end()) {
|
||||
int sfd = GetDescriptorFromSocket(*itr);
|
||||
if(sfd==0 || !FD_ISSET(sfd, &writeSet)){
|
||||
if (sfd <= 0 || !FD_ISSET(sfd, &writeSet)) {
|
||||
itr = writeFds.erase(itr);
|
||||
} else {
|
||||
LOGV("Socket %d is ready to send", sfd);
|
||||
|
@ -601,7 +601,7 @@ bool NetworkSocketPosix::Select(std::vector<NetworkSocket *> &readFds, std::vect
|
|||
itr = errorFds.begin();
|
||||
while (itr != errorFds.end()) {
|
||||
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);
|
||||
} else {
|
||||
++itr;
|
||||
|
|
|
@ -19,7 +19,7 @@ public class BuildVars {
|
|||
public static boolean USE_CLOUD_STRINGS = true;
|
||||
public static boolean CHECK_UPDATES = true;
|
||||
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 int APP_ID = 4;
|
||||
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";
|
||||
|
|
Loading…
Reference in a new issue