diff --git a/client/spice/src/spice.c b/client/spice/src/spice.c index c5f53d52..cd253596 100644 --- a/client/spice/src/spice.c +++ b/client/spice/src/spice.c @@ -1286,7 +1286,7 @@ bool spice_read_nl(const struct SpiceChannel * channel, void * buffer, const ssi if (!channel->connected) { DEBUG_ERROR("not connected"); - return -1; + return false; } if (!buffer)