From: taesub.kim Date: Fri, 29 Nov 2013 02:07:40 +0000 (+0900) Subject: Eliminate user privacy logs X-Git-Tag: submit/tizen/20150204.041417~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db45bba318126cee3d92eedba66adc1519049dc4;p=platform%2Fcore%2Fapi%2Fconnection.git Eliminate user privacy logs Change-Id: I7fed7a584a10c48530286e698dbb1a4904d70aed Signed-off-by: Taesub Kim --- diff --git a/debian/changelog b/debian/changelog index 6afb47d..3d47b87 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +capi-network-connection (0.1.3-16) unstable; urgency=low + + * Eliminate user privacy information + * Git: framework/api/connection + * Tag: capi-network-connection_0.1.3-16 + + -- Taesub Kim Fri, 29 Nov 2013 11:29:46 +0900 + capi-network-connection (0.1.3-15) unstable; urgency=low * Fix memory leak diff --git a/packaging/capi-network-connection.spec b/packaging/capi-network-connection.spec index e26d6a6..dc39b91 100644 --- a/packaging/capi-network-connection.spec +++ b/packaging/capi-network-connection.spec @@ -1,6 +1,6 @@ Name: capi-network-connection Summary: Network Connection library in TIZEN C API -Version: 0.1.3_15 +Version: 0.1.3_16 Release: 1 Group: System/Network License: Apache License Version 2.0 diff --git a/src/connection.c b/src/connection.c index 9622656..899d87f 100644 --- a/src/connection.c +++ b/src/connection.c @@ -257,6 +257,8 @@ EXPORT_API int connection_create(connection_h* connection) return CONNECTION_ERROR_OPERATION_FAILED; } + CONNECTION_LOG(CONNECTION_ERROR, "Connection successfully created!\n"); + *connection = g_try_malloc0(sizeof(connection_handle_s)); if (*connection != NULL) { CONNECTION_LOG(CONNECTION_INFO, "New Handle Created %p\n", *connection); @@ -345,8 +347,6 @@ EXPORT_API int connection_get_ip_address(connection_h connection, return CONNECTION_ERROR_OPERATION_FAILED; } - CONNECTION_LOG(CONNECTION_INFO, "IP Address %s\n", *ip_address); - return CONNECTION_ERROR_NONE; } @@ -376,8 +376,6 @@ EXPORT_API int connection_get_proxy(connection_h connection, return CONNECTION_ERROR_OPERATION_FAILED; } - CONNECTION_LOG(CONNECTION_INFO, "Proxy Address %s\n", *proxy); - return CONNECTION_ERROR_NONE; } diff --git a/src/connection_profile.c b/src/connection_profile.c index 2aaf1c2..92dbfc2 100644 --- a/src/connection_profile.c +++ b/src/connection_profile.c @@ -88,7 +88,6 @@ static const char* __profile_get_ethernet_proxy(void) return NULL; } - CONNECTION_LOG(CONNECTION_INFO, "Get system proxy: %s", proxy); return proxy; }