Update JsonAPI.mq5

This commit is contained in:
Nikolai
2020-02-12 20:34:41 +03:00
committed by GitHub
parent 9457e57890
commit aee89843da
+5 -5
View File
@@ -105,15 +105,15 @@ int OnInit(){
for(int i=0;i<bindAttemtps;i++){
result = BindSockets();
if (result) return(INIT_SUCCEEDED);
if (BindSockets()) return(INIT_SUCCEEDED);
else {
Print("Binding sockets failed. Waiting ", bindSocketsDelay, " seconds to try again...");
Sleep(bindSocketsDelay*1000);
}
}
Print("Binding of sockets failed permanently.");
return(INIT_FAILED);
}
}
Print("Binding of sockets failed permanently.");
return(INIT_FAILED);
}
/*