diff --git a/src/rm_services.c b/src/rm_services.c
index 46d07fffea9ece00937f4c5ac7047e171a1fa917..fbe8119cd12ffa87294f2cf7f7fd087d99615bf2 100644 (file)
--- a/src/rm_services.c
+++ b/src/rm_services.c
* via the provided callback function */
serviceResponse->serviceId = transaction->localId;
}
* via the provided callback function */
serviceResponse->serviceId = transaction->localId;
}
- else if (serviceResponse->serviceState == RM_SERVICE_APPROVED)
+ else if (serviceResponse->serviceState == RM_SERVICE_APPROVED_AND_COMPLETED)
{
/* Service was approved and service was an allocate request the resource
* data is passed back to the component */
{
/* Service was approved and service was an allocate request the resource
* data is passed back to the component */
/* Service was approved and service was an allocate request. The resource
* data is passed back to the component */
/* Service was approved and service was an allocate request. The resource
* data is passed back to the component */
- if ((serviceResponse.serviceState == RM_SERVICE_APPROVED) &&
+ if ((serviceResponse.serviceState == RM_SERVICE_APPROVED_AND_COMPLETED) &&
((transaction->type == Rm_service_RESOURCE_ALLOCATE) ||
(transaction->type == Rm_service_RESOURCE_BLOCK_ALLOCATE) ||
(transaction->type == Rm_service_RESOURCE_ALLOCATE_BY_NAME)))
((transaction->type == Rm_service_RESOURCE_ALLOCATE) ||
(transaction->type == Rm_service_RESOURCE_BLOCK_ALLOCATE) ||
(transaction->type == Rm_service_RESOURCE_ALLOCATE_BY_NAME)))