aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-10-27 12:40:30 +0200
committerEric Blake <eblake@redhat.com>2017-10-30 21:07:59 +0100
commit8cbee49ed7348e9b2b708d75c8ff8941032cb488 (patch)
tree5aad383da19b9d5dfff243539fa6c16be9f80d14 /hmp-commands.hx
parent8fb48b8b38a895cbb17a601829603365c4938f60 (diff)
nbd/server: Simplify nbd_negotiate_options loop
Instead of making each caller check whether a transmission error occurred, we can sink a common error check to the end of the loop. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20171027104037.8319-6-eblake@redhat.com> [eblake: squash in compiler warning fix] Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions