summaryrefslogtreecommitdiff
path: root/libsoup
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2017-11-16 15:07:08 +0100
committerTomas Popela <tpopela@redhat.com>2017-11-16 16:10:04 +0100
commit6aa8d307558da4697ed510d888abab3fc0209afc (patch)
tree58ac52132cf1e64b6b32808972941630c3e063b3 /libsoup
parent9bacd5816c556c9a96cc1659e62883c51741576f (diff)
downloadlibsoup-6aa8d307558da4697ed510d888abab3fc0209afc.tar.gz
Don't use C++ comments as libsoup uses C89
Diffstat (limited to 'libsoup')
-rw-r--r--libsoup/soup-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-cache.c b/libsoup/soup-cache.c
index dbbc71f1..5964d605 100644
--- a/libsoup/soup-cache.c
+++ b/libsoup/soup-cache.c
@@ -928,7 +928,7 @@ soup_cache_finalize (GObject *object)
priv = SOUP_CACHE (object)->priv;
- // Cannot use g_hash_table_foreach as callbacks must not modify the hash table
+ /* Cannot use g_hash_table_foreach as callbacks must not modify the hash table */
entries = g_hash_table_get_values (priv->cache);
g_list_foreach (entries, remove_cache_item, object);
g_list_free (entries);
@@ -1338,7 +1338,7 @@ soup_cache_clear (SoupCache *cache)
g_return_if_fail (SOUP_IS_CACHE (cache));
g_return_if_fail (cache->priv->cache);
- // Cannot use g_hash_table_foreach as callbacks must not modify the hash table
+ /* Cannot use g_hash_table_foreach as callbacks must not modify the hash table */
entries = g_hash_table_get_values (cache->priv->cache);
g_list_foreach (entries, clear_cache_item, cache);
g_list_free (entries);