diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-09-27 11:16:16 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-09-27 11:25:46 -0500 |
commit | a6dc0527a2d7a8659b204e2b1f7efadb5d67a3ab (patch) | |
tree | 35dc0ea39b9da18b37e327db55f1f3a23672dc45 /res/res_pjsip_outbound_publish.c | |
parent | c8a89335581d2c1cfd1b9818a5643283091ed083 (diff) |
res_pjsip_outbound_publish.c: Fix misplaced parenthesis.
The pjsip_publishc_init() call was referenced with a misplaced
parentheses. As a result, outbound publication messages went out with an
expiration of 1 second.
ASTERISK-27298
Change-Id: I93622eabc8ee83e7a22e98c107f921284c605a08
Diffstat (limited to 'res/res_pjsip_outbound_publish.c')
-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 18525bf6c..0fac8adf6 100644 --- a/res/res_pjsip_outbound_publish.c +++ b/res/res_pjsip_outbound_publish.c @@ -986,7 +986,7 @@ static int sip_outbound_publisher_init(void *data) pj_cstr(&event, publish->event); if (pjsip_publishc_init(publisher->client, &event, &server_uri, &from_uri, &to_uri, - publish->expiration != PJ_SUCCESS)) { + publish->expiration) != PJ_SUCCESS) { ast_log(LOG_ERROR, "Failed to initialize publishing client on outbound publish '%s'\n", ast_sorcery_object_get_id(publish)); pjsip_endpt_release_pool(ast_sip_get_pjsip_endpoint(), pool); |