summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-12-09 05:32:44 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-12-09 05:32:44 -0600
commit963735dfcee62d818dee8641e4377d51910035ee (patch)
treed706465cc89dc0ef341ace3afa752cbc84773f21
parentb8a0770d748a0d15d809473c5b2fb4be1ac182fb (diff)
parent4c6ba1dbba1650b6b644a1bcb89be89b630fac30 (diff)
Merge "Fix typo in chan_sip"
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 71be9e38f..aa0d6a5dd 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) {