does not close the socket. Resulting in the main thread being stuck
in a tight infinite loop polling on the erronous socket.
Change-Id: I630b84b97c059acce117d56e41cd201131db4cab
Signed-off-by: Ole Troan <ot@cisco.com>
errors[n_errors] = f->error_function (f);
n_errors += errors[n_errors] != 0;
}
errors[n_errors] = f->error_function (f);
n_errors += errors[n_errors] != 0;
}
+ else
+ close(f->file_descriptor);
}
ASSERT (n_errors < ARRAY_LEN (errors));
}
ASSERT (n_errors < ARRAY_LEN (errors));