res_pjsip: Fix 'A = B != C' kind.
Consider reviewing the expression of the 'A = B != C' kind. The expression is calculated as following: 'A = (B != C)' Change-Id: Ibaa637dfda47d51a20e26069d3103e05ce80003d
This commit is contained in:
parent
5a96e1fb5e
commit
934aa2c768
|
@ -701,7 +701,8 @@ static pj_status_t send_options_response(pjsip_rx_data *rdata, int code)
|
||||||
pj_status_t status;
|
pj_status_t status;
|
||||||
|
|
||||||
/* Make the response object */
|
/* Make the response object */
|
||||||
if ((status = ast_sip_create_response(rdata, code, NULL, &tdata) != PJ_SUCCESS)) {
|
status = ast_sip_create_response(rdata, code, NULL, &tdata);
|
||||||
|
if (status != PJ_SUCCESS) {
|
||||||
ast_log(LOG_ERROR, "Unable to create response (%d)\n", status);
|
ast_log(LOG_ERROR, "Unable to create response (%d)\n", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue