return ECA_PUTFAIL instead of ECA_INTERNAL when unexpected write exception occurs

This commit is contained in:
Jeff Hill
2003-11-14 16:55:09 +00:00
parent df1e65bc8a
commit 66959c07a8

View File

@@ -563,7 +563,7 @@ int epicsShareAPI ca_array_put_callback ( chtype type, arrayElementCount count,
}
catch ( ... )
{
caStatus = ECA_INTERNAL;
caStatus = ECA_PUTFAIL;
}
return caStatus;
}
@@ -619,7 +619,7 @@ int epicsShareAPI ca_array_put ( chtype type, arrayElementCount count,
}
catch ( ... )
{
caStatus = ECA_INTERNAL;
caStatus = ECA_PUTFAIL;
}
return caStatus;
}