projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbfe7f2
)
[WGID-159196] Fixed unreachable code
67/141767/1
author
Seonah Moon
<seonah1.moon@samsung.com>
Tue, 1 Aug 2017 10:14:45 +0000
(19:14 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Tue, 1 Aug 2017 10:18:35 +0000
(19:18 +0900)
Change-Id: Ia0fc72988b177e75ab34d4afa3b796dc1717d5e9
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
libsoup/soup-message-io.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-message-io.c
b/libsoup/soup-message-io.c
index
2c42451
..
2587a7c
100644
(file)
--- 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);