summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsoup/soup-cache.c4
-rw-r--r--tests/server-test.c2
2 files changed, 3 insertions, 3 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);
diff --git a/tests/server-test.c b/tests/server-test.c
index 135d4b62..cf132b33 100644
--- a/tests/server-test.c
+++ b/tests/server-test.c
@@ -365,7 +365,7 @@ multi_server_callback (SoupServer *server, SoupMessage *msg,
g_assert_cmpint (g_inet_socket_address_get_port (iaddr), ==, uri->port);
- // FIXME ssl
+ /* FIXME ssl */
soup_message_set_response (msg, "text/plain",
SOUP_MEMORY_TAKE, uristr, strlen (uristr));