diff options
-rw-r--r-- | libsoup/soup-message-io.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c index 2c42451f..2587a7cf 100644 --- a/libsoup/soup-message-io.c +++ b/libsoup/soup-message-io.c @@ -701,10 +701,8 @@ io_read (SoupMessage *msg, gboolean blocking, gpointer key, value; g_hash_table_iter_init (&iter, params); - while (g_hash_table_iter_next (&iter, &key, &value)) { + if (g_hash_table_iter_next (&iter, &key, &value)) composite_type = TRUE; - break; - } } if (!composite_type) soup_cache_entry_set_content_type (io->item->session, msg, content_type); |