From: Badalyan Vyacheslav Date: Thu, 8 Dec 2016 18:43:23 +0000 (+0000) Subject: Fix typo in chan_sip X-Git-Tag: 14.3.0-rc1~73^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59457d39ef0b2b59070722331e92b258a54a10bf;p=thirdparty%2Fasterisk.git Fix typo in chan_sip The conditional expressions of the 'if' operators situated alongside each other are identical. Change-Id: I652b6dcddb3be007e669a6aa8107edb31a1ddafb --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2f86bdf175..a2951e5f3f 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) {