summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-12-09 05:33:00 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-12-09 05:33:00 -0600
commite5bf133882ade79bdb3ff29c0c36666ee23ede38 (patch)
treec3980ac095b1a41d8404e1471b8e365834e25d09 /channels/chan_sip.c
parent5231dd5a12a7b88602297d3263a7a86d705c13cd (diff)
parent59457d39ef0b2b59070722331e92b258a54a10bf (diff)
Merge "Fix typo in chan_sip" into 14
Diffstat (limited to 'channels/chan_sip.c')
-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 14467dbe2..c8ff0900b 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -2508,7 +2508,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) {