diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-25 09:57:55 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-25 09:57:55 +0100 |
commit | 8a96e474a2a1bded9f6740df18aacc482a253108 (patch) | |
tree | dcdd09c8f01914cccbcc3c201ee9f00d638c3c5f /src/sctp_m2ua.c | |
parent | 3c2b84c6074a9a07d53950a3f3ac24d867f042ac (diff) |
mtp: Fix the logic... close the socket if we are blocked
Thinko or such.
Diffstat (limited to 'src/sctp_m2ua.c')
-rw-r--r-- | src/sctp_m2ua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sctp_m2ua.c b/src/sctp_m2ua.c index d0e88da..5d1db25 100644 --- a/src/sctp_m2ua.c +++ b/src/sctp_m2ua.c @@ -528,7 +528,7 @@ static int sctp_trans_accept(struct bsc_fd *fd, unsigned int what) return -1; } - if (!trans->base.blocked) { + if (trans->base.blocked) { LOGP(DINP, LOGL_NOTICE, "The link is blocked.\n"); close(s); return -1; |