main: fix size of buffer in call to g_input_stream_read()
if there was a remainder in the buffer from a previous iteration, make sure not to fill too much data and go past the end of the buffer
Please register or sign in to comment
if there was a remainder in the buffer from a previous iteration, make sure not to fill too much data and go past the end of the buffer