connection: handle refill_buffer() error in get_next()

This commit is contained in:
David Svensson Fors 2017-03-07 13:44:27 +01:00 committed by Wim Taymans
parent 4d3c194491
commit 663a3df9af

View file

@ -235,7 +235,8 @@ pinos_connection_get_next (PinosConnection *conn,
again:
if (buf->update) {
refill_buffer (conn, buf);
if (!refill_buffer (conn, buf))
return false;
buf->update = false;
}