diff options
author | Badalyan Vyacheslav <v.badalyan@open-bs.ru> | 2016-12-08 18:43:23 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-12-08 16:53:56 -0600 |
commit | 4c6ba1dbba1650b6b644a1bcb89be89b630fac30 (patch) | |
tree | aa6695ca88e43176e0b62ab6d3949316f20a606e | |
parent | 5a96e1fb5e0158bf29accff11aea8afea8b40f48 (diff) |
Fix typo in chan_sip
The conditional expressions of the 'if' operators
situated alongside each other are identical.
Change-Id: I652b6dcddb3be007e669a6aa8107edb31a1ddafb
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7f22b96c8..927f0aeae 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2512,7 +2512,7 @@ static void sip_threadinfo_destructor(void *obj) struct sip_threadinfo *th = obj; struct tcptls_packet *packet; - if (th->alert_pipe[1] > -1) { + if (th->alert_pipe[0] > -1) { close(th->alert_pipe[0]); } if (th->alert_pipe[1] > -1) { |