Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MQL4/Libraries/OTMql4/OTLibServerErrors.mq4
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
bool bOTLibServerErrorIsContinuable(int iErr) {
int i;

i = bOTLibServerErrorType(iErr);
i = nOTLibServerErrorType(iErr);
// Im not really sure what "commonerror" is (OFLIB_OTHER_ERROR)
return(i == OFLIB_BUSY_ERROR || i == OFLIB_NETWORK_ERROR);
}

bool bOTLibServerErrorType(int iErr) {
int nOTLibServerErrorType(int iErr) {
// Group the errors returned from trade server
// so that we can take action based on classes of errors.
switch(iErr) {
Expand Down