Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
size_t *pnum_listen_fds)
{
NTSTATUS status;
- int fd = -1;
int rc;
enum rpc_service_mode_e epm_mode = rpc_epmapper_mode();
size_t i, num_fds;
status = NT_STATUS_OK;
done:
- if (fd != -1) {
- close(fd);
- }
-
return status;
}
size_t *pnum_listen_fds)
{
NTSTATUS status;
- int fd = -1;
size_t i, num_fds;
struct pf_listen_fd *fds = NULL;
int rc;
status = NT_STATUS_OK;
done:
- if (fd != -1) {
- close(fd);
- }
return status;
}
size_t *pnum_listen_fds)
{
NTSTATUS status;
- int fd = -1;
size_t i, num_fds;
struct pf_listen_fd *fds = NULL;
int rc;
status = NT_STATUS_OK;
done:
- if (fd != -1) {
- close(fd);
- }
return status;
}