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 bfcb42e commit 4b031e7
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 @@ -1392,11 +1392,11 @@ 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;
log_err(knet_h, KNET_SUB_TRANSP_SCTP, "Unable to create epoll listen fd: %s",
strerror(savederrno));
goto exit_fail;
if (handle_info->listen_epollfd < 0) {
savederrno = errno;
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 4b031e7

Please sign in to comment.