Am Mon, 4 Jun 2018 21:16:17 +0200 schrieb Ján Tomko <jtomko@xxxxxxxxxx>: > On Mon, Jun 04, 2018 at 12:29:37PM +0200, Olaf Hering wrote: > >- goto error; > This skips all errors, not just EADDRNOTAVAIL. Saving the errno here... Why would any error matter here? Why was that one 'goto error;' ever correct? There is more cake on the table, no need to stop here. > >+ if (nsocks == 0) { > Also, why the use of global errno variable to pass a value within a > single block? I have no idea, likely to have a common error available outside the loop. Another cleanup for pretty error handling could be done. If anyone really feels it is needed. Olaf
Attachment:
pgpbUT8x_uP6_.pgp
Description: Digitale Signatur von OpenPGP
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list