diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2017-05-29 14:16:57 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2017-05-29 14:16:57 +0900 |
commit | 708b3398528a7de3b2d8b3b2f655c54e00d990c5 (patch) | |
tree | 08b9d0c627dfb005ede1638f58e22a51c1defd80 | |
parent | 822425d95c61e2d793bae1f4ce41482de6e7893a (diff) | |
download | libsoup-708b3398528a7de3b2d8b3b2f655c54e00d990c5.tar.gz libsoup-708b3398528a7de3b2d8b3b2f655c54e00d990c5.tar.bz2 libsoup-708b3398528a7de3b2d8b3b2f655c54e00d990c5.zip |
Fixed the build warningssubmit/tizen/20170529.064848accepted/tizen/unified/20170531.082642
Change-Id: I016bf61a4e429a537a051d9f113d697733be3428
-rw-r--r-- | libsoup/soup-address.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c index aca6849d..6a3d804b 100644 --- a/libsoup/soup-address.c +++ b/libsoup/soup-address.c @@ -666,7 +666,7 @@ dns_cache_item_insert(SoupAddress *addr, GList *addrs) } static gboolean -dns_cache_remove_oldest_item() +dns_cache_remove_oldest_item(void) { GList *temp_list = NULL; DnsCacheItem *del_old_item = NULL; @@ -723,7 +723,7 @@ get_dns_from_cache (SoupAddress *addr) len = g_list_length (item->ip); d_value = timep - item->time; // The expiration time for multi ip is 30s; the expiration time for single ip is 60s - if (d_value <= MULTI_IP_MAX_TIME_SECOND || len == 1 && d_value <= DNS_CACHE_MAX_TIME_SECOND) + if (d_value <= MULTI_IP_MAX_TIME_SECOND || (len == 1 && d_value <= DNS_CACHE_MAX_TIME_SECOND)) return item->ip; } return NULL; |