Skip to content

Commit

Permalink
Tabify
Browse files Browse the repository at this point in the history
  • Loading branch information
wferi committed Dec 17, 2018
1 parent 51e5ede commit 330a251
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libknet/transport_sctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1394,12 +1394,12 @@ int sctp_transport_init(knet_handle_t knet_h)
knet_list_init(&handle_info->connect_links_list);

handle_info->listen_epollfd = epoll_create(KNET_EPOLL_MAX_EVENTS + 1);
if (handle_info->listen_epollfd < 0) {
savederrno = errno;
if (handle_info->listen_epollfd < 0) {
savederrno = errno;
err = -1;
log_err(knet_h, KNET_SUB_TRANSP_SCTP, "Unable to create epoll listen fd: %s",
strerror(savederrno));
goto exit_fail;
log_err(knet_h, KNET_SUB_TRANSP_SCTP, "Unable to create epoll listen fd: %s",
strerror(savederrno));
goto exit_fail;
}

if (_fdset_cloexec(handle_info->listen_epollfd)) {
Expand Down

0 comments on commit 330a251

Please sign in to comment.