summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-04-28 21:02:05 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-04-28 21:02:05 -0500
commitc8f53bc4e9a4ceab97d728fbb1db90e248239ceb (patch)
tree170d86c8c30d25de7ff721a029991c880892b75c /res
parent980b772265385315295d6a8fa21d5a8c96c3b4e0 (diff)
parent76ea4cfaaeec33328b0852fa9e37682f29569ba4 (diff)
Merge "res_pjsip_outbound_publish.c: Remove redundant flag check."
Diffstat (limited to 'res')
-rw-r--r--res/res_pjsip_outbound_publish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_outbound_publish.c b/res/res_pjsip_outbound_publish.c
index 5b27bdf0d..0fe2e3e5d 100644
--- a/res/res_pjsip_outbound_publish.c
+++ b/res/res_pjsip_outbound_publish.c
@@ -389,7 +389,7 @@ static void sip_outbound_publish_synchronize(struct ast_sip_event_publisher_hand
} 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;