Skip to content
Snippets Groups Projects
Commit 76ea4cfa authored by Richard Mudgett's avatar Richard Mudgett
Browse files

res_pjsip_outbound_publish.c: Remove redundant flag check.

Change-Id: I0da80a3c3e0eae0c52ff27e7412ba027d6f52353
parent 057ed940
Branches
Tags
No related merge requests found
...@@ -389,7 +389,7 @@ static void sip_outbound_publish_synchronize(struct ast_sip_event_publisher_hand ...@@ -389,7 +389,7 @@ static void sip_outbound_publish_synchronize(struct ast_sip_event_publisher_hand
} else { } else {
state->client->started = 1; 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 */ /* If the publisher client has been started but it is going away stop it */
removed->stop_publishing(state->client); removed->stop_publishing(state->client);
state->client->started = 0; state->client->started = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment