[asterisk-commits] res pjsip outbound publish.c: Remove redundant flag check. (asterisk[13])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 29 04:57:32 CDT 2016
Joshua Colp has submitted this change and it was merged.
Change subject: res_pjsip_outbound_publish.c: Remove redundant flag check.
......................................................................
res_pjsip_outbound_publish.c: Remove redundant flag check.
Change-Id: I0da80a3c3e0eae0c52ff27e7412ba027d6f52353
---
M res/res_pjsip_outbound_publish.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jonathan R. Rose: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved; Verified
diff --git a/res/res_pjsip_outbound_publish.c b/res/res_pjsip_outbound_publish.c
index 74b06c2..60f9bbb 100644
--- a/res/res_pjsip_outbound_publish.c
+++ b/res/res_pjsip_outbound_publish.c
@@ -389,7 +389,7 @@
} else {
state->client->started = 1;
}
- } else if (state->client->started && !handler && removed && !strcmp(publish->event, removed->event_name)) {
+ } else if (!handler && removed && !strcmp(publish->event, removed->event_name)) {
/* If the publisher client has been started but it is going away stop it */
removed->stop_publishing(state->client);
state->client->started = 0;
--
To view, visit https://gerrit.asterisk.org/2721
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0da80a3c3e0eae0c52ff27e7412ba027d6f52353
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Jonathan R. Rose <jonathan.rose at motorolasolutions.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-commits
mailing list