LOGD(FONT_COLOR_CYAN"[%d]"fmt""FONT_COLOR_RESET, contact_adaptor_gettid(), ##arg); \
} while (0)
-/**
- * @brief Prints debug message on entry to particular function
- * @param[in] fmt Format of data to be displayed
- * @param[in] args Arguments to be displayed
- */
-#define contact_adaptor_debug_secure(fmt, arg...) do { \
- SECURE_LOGD(FONT_COLOR_CYAN"[%d]"fmt""FONT_COLOR_RESET, contact_adaptor_gettid(), ##arg); \
- } while (0)
-
-
#define plugin_req_enter() do { \
contact_adaptor_info("[ENTER] plugin API call -)) -)) -)) -)) -)) -)) -)) -)) -)) -))"); \
} while (0)
contact_adaptor_warning("Create plugin context");
if ((NULL == plugin) || (NULL == duid) || (NULL == access_token) || (NULL == service_name)) {
- contact_adaptor_error("Invalid argument: %p, %p", duid, access_token);
+ contact_adaptor_error("Invalid argument: %s, %s", duid, access_token);
return NULL;
}
if ((NULL == context) || (NULL == new_access_token) || (0 >= strlen(new_access_token))) {
return CONTACT_ADAPTOR_ERROR_INVALID_ARGUMENT;
}
- contact_adaptor_debug_secure("New access token : %s", new_access_token);
+ contact_adaptor_debug("New access token : %s", new_access_token);
free(context->access_token);
context->access_token = NULL;
if ((NULL == context) || (NULL == new_uid) || (0 >= strlen(new_uid))) {
return CONTACT_ADAPTOR_ERROR_INVALID_ARGUMENT;
}
- contact_adaptor_debug_secure("New uid : %s", new_uid);
+ contact_adaptor_debug("New uid : %s", new_uid);
free(context->duid);
context->duid = NULL;