mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_pjsip: Fix 'A = B != C' kind." into 13
This commit is contained in:
@@ -711,7 +711,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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user