summaryrefslogtreecommitdiff
path: root/libsoup/soup-message-io.c
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fabiano@fidencio.org>2013-10-22 15:49:22 +0200
committerFabiano FidĂȘncio <fabiano@fidencio.org>2013-10-22 16:07:13 +0200
commit819298693dba366cde307adcdc541c8d6039403d (patch)
tree6ef0026389212abc1eed09ee3c5736efd014b8e1 /libsoup/soup-message-io.c
parent65bd4b98e2e5ed8518beb94fac05c9d9967cadb7 (diff)
downloadlibsoup-819298693dba366cde307adcdc541c8d6039403d.tar.gz
Fix 'return with no value' warning
Diffstat (limited to 'libsoup/soup-message-io.c')
-rw-r--r--libsoup/soup-message-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c
index 03dc4333..6ba29607 100644
--- a/libsoup/soup-message-io.c
+++ b/libsoup/soup-message-io.c
@@ -988,7 +988,7 @@ soup_message_io_run_until_finish (SoupMessage *msg,
g_object_ref (msg);
if (io) {
- g_return_if_fail (io->mode == SOUP_MESSAGE_IO_CLIENT);
+ g_return_val_if_fail (io->mode == SOUP_MESSAGE_IO_CLIENT, FALSE);
if (io->read_state < SOUP_MESSAGE_IO_STATE_BODY_DONE)
io->read_state = SOUP_MESSAGE_IO_STATE_FINISHING;