Patch from Angus to fix return code of saAmfResponse if the handle was invalid.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1360 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2007-04-21 00:02:29 +00:00
parent f76d8f558e
commit 46fe47823c

View File

@ -1033,7 +1033,7 @@ saAmfResponse (
errorResult = saHandleInstanceGet (&amfHandleDatabase, amfHandle,
(void *)&amfInstance);
if (errorResult != SA_AIS_OK) {
return (error);
return (errorResult);
}
req_lib_amf_response.header.id = MESSAGE_REQ_AMF_RESPONSE;