diff options
Diffstat (limited to 'src/agent/common/common_util.c')
-rwxr-xr-x | src/agent/common/common_util.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/agent/common/common_util.c b/src/agent/common/common_util.c index 7c1bb70..48231af 100755 --- a/src/agent/common/common_util.c +++ b/src/agent/common/common_util.c @@ -122,10 +122,13 @@ bool get_config(int account_id, char *key, char **value) sync_agent_da_config_s *config = NULL; *value = NULL; + _DEBUG_INFO("get_config - account_id[%d], key[%s]",account_id,key); result = sync_agent_create_config(&config); - if (result != SYNC_AGENT_DA_SUCCESS) + if (result != SYNC_AGENT_DA_SUCCESS) { + _DEBUG_INFO("sync_agent_create_config() failed!!"); return false; + } result = sync_agent_get_config(account_id, key, &config); if (result == SYNC_AGENT_DA_SUCCESS) { @@ -152,6 +155,8 @@ bool get_config(int account_id, char *key, char **value) break; } } + } else { + _DEBUG_INFO("sync_agent_get_config() failed!!"); } } if (success == false) { |