diff options
author | Sebastian Tanase <sebastian.tanase@openwide.fr> | 2014-07-28 13:39:14 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-05 13:27:10 +0200 |
commit | cf7330c759345de2efe9c0df7921189ac5ff11d3 (patch) | |
tree | 078c746938df1c28e893ec75868accc28d50b74b /ui | |
parent | fd884c07658d02a96a882b8457d6d7a5cd71a407 (diff) | |
download | hqemu-cf7330c759345de2efe9c0df7921189ac5ff11d3.zip hqemu-cf7330c759345de2efe9c0df7921189ac5ff11d3.tar.gz |
pty: Fix byte loss bug when connecting to pty
When trying to print data to the pty, we first check if it is connected.
If not, we try to reconnect, but we drop the pending data even if we
have successfully reconnected; this makes us lose the first byte of the very
first transmission.
This small fix addresses the issue by checking once more if the pty is connected
after having tried to reconnect.
Signed-off-by: Sebastian Tanase <sebastian.tanase@openwide.fr>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions