summaryrefslogtreecommitdiff
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
parent9bacd5816c556c9a96cc1659e62883c51741576f (diff)
downloadlibsoup-6aa8d307558da4697ed510d888abab3fc0209afc.tar.gz
Don't use C++ comments as libsoup uses C89
-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));