[Asterisk-code-review] Fix typo in chan sip (asterisk[master])
Badalian Vyacheslav
asteriskteam at digium.com
Thu Dec 8 12:45:01 CST 2016
Badalian Vyacheslav has uploaded a new change for review. ( https://gerrit.asterisk.org/4596 )
Change subject: Fix typo in chan_sip
......................................................................
Fix typo in chan_sip
The conditional expressions of the 'if' operators
situated alongside each other are identical.
Change-Id: I652b6dcddb3be007e669a6aa8107edb31a1ddafb
---
M channels/chan_sip.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/96/4596/1
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 7f22b96..927f0ae 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -2512,7 +2512,7 @@
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) {
--
To view, visit https://gerrit.asterisk.org/4596
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I652b6dcddb3be007e669a6aa8107edb31a1ddafb
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Badalian Vyacheslav <v.badalyan at open-bs.ru>
More information about the asterisk-code-review
mailing list