Change-Id: I664ef782a7663a05f5f2463945523bc0b691fcc0
Signed-off-by: Younho Park <younho.park@samsung.com>
service_adaptor_error("message connection resumption stopped (last channel_auth res : %d)", ret);
return SERVICE_ADAPTOR_INTERNAL_ERROR_CONNECT;
}
- if (MESSAGE_ADAPTOR_ERROR_TIME_OUT == ret) {
- timeout_sec += additional_timeout_sec;
- service_adaptor_info("Increase timeout seconds (total: %d sec)", timeout_sec);
- }
}
} while (SERVICE_ADAPTOR_ERROR_NONE != ret);
service_adaptor_service_context_h service = NULL;
while (NULL != (service = service_adaptor_get_service_context(service_adaptor, service_name))) {
- if (NULL == service) {
- service_adaptor_debug("service context already released");
- return SERVICE_ADAPTOR_INTERNAL_ERROR_NONE;
- }
-
service_adaptor_internal_error_code_e ret = SERVICE_ADAPTOR_INTERNAL_ERROR_NONE;
ret = service_adaptor_disconnect_message_plugin(service_adaptor, service);
service_adaptor_debug("Disconnected message (%d)", ret);