mdsplus
mdsplus copied to clipboard
Fix: mdsconnect incorrectly aborts on the first connection
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).
Retest this please