From: Richard Mudgett Date: Wed, 27 Sep 2017 16:16:16 +0000 (-0500) Subject: res_pjsip_outbound_publish.c: Fix misplaced parenthesis. X-Git-Tag: 14.7.0-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de99052acb04efbf05b7b350d9ded537c70242f8;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/res_pjsip_outbound_publish.c b/res/res_pjsip_outbound_publish.c index 18525bf6cd..0fac8adf6b 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);