tcp_close(): check for close() errors too (v2)
commit61a5872fd66be718ad022102bf813d7e4e9324c5
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 10 Nov 2011 12:41:47 +0000 (10 10:41 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Dec 2011 17:47:20 +0000 (12 11:47 -0600)
tree25468b5ccda7e962bb4beb043cdf642f943b81a5
parente375fe3472f6d64971d3bd8e10a3f159e72435a1
tcp_close(): check for close() errors too (v2)

In case close() fails, we want to report the error back.

Changes v1 -> v2:
 - Use braces on if statement to match coding style

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration-tcp.c