mdsplus icon indicating copy to clipboard operation
mdsplus copied to clipboard

Fix: mdsconnect incorrectly aborts on the first connection

Open WhoBrokeTheBuild opened this issue 2 years ago • 1 comments

Somewhere along the line TdiShrExt->rMdsConnect started returning the connection number (starting at 0) instead of a status code. So on an error, it actually returns -1, not 0. If mdsconnect is called with _abort set, then it will abort() on the first connection (_status == 0).

WhoBrokeTheBuild avatar Feb 16 '23 22:02 WhoBrokeTheBuild

Retest this please

WhoBrokeTheBuild avatar Feb 21 '23 16:02 WhoBrokeTheBuild