Removed call to pasynCommonSyncIO->connectDevice, not needed

This commit is contained in:
MarkRivers
2006-04-19 21:50:35 +00:00
parent 172fc6e09b
commit 2693438b98
+2
View File
@@ -89,12 +89,14 @@ int ConnectToServer(char *IpAddress, int IpPort, double timeout)
psock->pasynUserCommon = pasynUserCommon;
/* Connect to controller */
/* No need to do this, it will be done automatically and it gives an error if already connected
status = pasynCommonSyncIO->connectDevice(pasynUserCommon);
if (status != asynSuccess) {
printf("ConnectToServer, error calling pasynCommonSyncIO->connectDevice %s\n",
pasynUserCommon->errorMessage);
return -1;
}
*/
psock->timeout = timeout;
psock->connected = 1;