index 9ad61f6410a28db3331738147dd534beb72cf8b1..0f56bd239891fc3e35b4ddd76461074994356c22 100644 (file)
if (fd < 0)
{
status = errno;
if (fd < 0)
{
status = errno;
- fd = -1;
continue;
}
continue;
}
{
status = errno;
close (fd);
{
status = errno;
close (fd);
- fd = -1;
continue;
}
continue;
}
{
status = errno;
close (fd);
{
status = errno;
close (fd);
- fd = -1;
continue;
}
continue;
}
if (status != 0)
{
lcc_set_errno (c, status);
if (status != 0)
{
lcc_set_errno (c, status);
+ freeaddrinfo (ai_res);
return (-1);
}
return (-1);
}
+ freeaddrinfo (ai_res);
return (0);
} /* }}} int lcc_open_netsocket */
return (0);
} /* }}} int lcc_open_netsocket */