summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-12-09 05:33:16 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-12-09 05:33:16 -0600
commit791c15942bf31eba489cb6dd2f58a22d2fe6aec2 (patch)
tree49255ce9361bc2a72fbf8c1ad7854a9034ebbc5f /channels/chan_sip.c
parentc7eb439953bdf34bec2a759896fba05abd6e8cce (diff)
parentb596fac8384c470af6fc656953609882c629fe7d (diff)
Merge "Fix typo in chan_sip" into 13
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 f51cc839e..f8ae5e522 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -2503,7 +2503,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) {