diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-04-28 21:02:05 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-04-28 21:02:05 -0500 |
commit | c8f53bc4e9a4ceab97d728fbb1db90e248239ceb (patch) | |
tree | 170d86c8c30d25de7ff721a029991c880892b75c /res | |
parent | 980b772265385315295d6a8fa21d5a8c96c3b4e0 (diff) | |
parent | 76ea4cfaaeec33328b0852fa9e37682f29569ba4 (diff) |
Merge "res_pjsip_outbound_publish.c: Remove redundant flag check."
Diffstat (limited to 'res')
-rw-r--r-- | res/res_pjsip_outbound_publish.c | 2 |
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; |