mncc: Do not permanently disable the listening socket in case of error

When we have no other MNCC connection but the registeration of the
new fd is failing we should not disable reading from the listen_fd
for ever as the situation might not be permanent.
This commit is contained in:
Holger Hans Peter Freyther 2011-04-12 20:14:51 +02:00
parent 18fe88933c
commit 090493863b
1 changed files with 0 additions and 1 deletions

View File

@ -239,7 +239,6 @@ static int mncc_sock_accept(struct bsc_fd *bfd, unsigned int flags)
LOGP(DMNCC, LOGL_ERROR, "Failed to register new connection fd\n");
close(conn_bfd->fd);
conn_bfd->fd = -1;
state->listen_bfd.when |= ~BSC_FD_READ;
return -1;
}