aboutsummaryrefslogtreecommitdiff
path: root/bt-host.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2017-08-04 18:14:26 +0300
committerEric Blake <eblake@redhat.com>2017-08-30 13:00:38 -0500
commitba8456442b597848fb5585273c47de8476c3a0c1 (patch)
treee47b423473219963cbd52950618dc59f302f0b49 /bt-host.c
parentab01df1fe21c013d1fd9e3f4c782430741c7dd33 (diff)
downloadqemu-ba8456442b597848fb5585273c47de8476c3a0c1.zip
qemu-ba8456442b597848fb5585273c47de8476c3a0c1.tar.gz
qemu-ba8456442b597848fb5585273c47de8476c3a0c1.tar.bz2
nbd/client: refactor nbd_receive_reply
Refactor nbd_receive_reply to return 1 on success, 0 on eof, when no data was read and <0 for other cases, because returned size of read data is not actually used. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20170804151440.320927-4-vsementsov@virtuozzo.com> [eblake: tweak function comments] Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'bt-host.c')
0 files changed, 0 insertions, 0 deletions