diff options
author | Joshua Colp <jcolp@digium.com> | 2016-04-29 04:57:32 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-04-29 04:57:32 -0500 |
commit | 1ce30f1fb5a28541935759953bfb3b0204d1304d (patch) | |
tree | 9aebcb6cfc3298e452294a03db7a2299616b66e6 /res | |
parent | cc8a50631eaebdae76ed39dd59302cad796cf2cc (diff) | |
parent | b7f07fdff548b0dcc5aa2259d7c37d3c37555abd (diff) |
Merge "res_pjsip_outbound_publish.c: Remove redundant flag check." into 13
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 74b06c2ef..60f9bbb17 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; |