summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-08-28 16:35:12 +0200
committerPavel Grunt <pgrunt@redhat.com>2016-02-12 16:12:07 +0100
commit7a797024d2838f21afbb251d1017ae6ab67c2aaf (patch)
tree49d2eb1ebc5cf1b6df2b21fe1456131147b68b68
parent8f8859e4c539b7e06d85e2b3c539259bcf284be3 (diff)
don't fail when concurrent read happenscdrom
-rw-r--r--src/vmcstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmcstream.c b/src/vmcstream.c
index 483dd5a..eec901b 100644
--- a/src/vmcstream.c
+++ b/src/vmcstream.c
@@ -248,7 +248,7 @@ spice_vmc_input_stream_read_async(GInputStream *stream,
/* no concurrent read permitted by ginputstream */
g_return_if_fail(self->result == NULL);
- g_return_if_fail(self->cancellable == NULL);
+ g_warn_if_fail(self->cancellable == NULL);
self->all = FALSE;
self->buffer = buffer;
self->count = count;