diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-12-08 21:54:37 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-12-08 21:54:37 -0600 |
commit | 949a4a443ad213c3fb6ed7dc0140ece57ea144e1 (patch) | |
tree | 9c0470d6faf8f97277162428627a2b43c05b4031 /res/res_pjsip/pjsip_options.c | |
parent | 939010fc15c1bddba7c64a1f0de3a8aa55adc21c (diff) | |
parent | 483ed9f1aa2575a94f9ccfd6c490e72d4611f249 (diff) |
Merge "res_pjsip: Fix 'A = B != C' kind." into 13
Diffstat (limited to 'res/res_pjsip/pjsip_options.c')
-rw-r--r-- | res/res_pjsip/pjsip_options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_pjsip/pjsip_options.c b/res/res_pjsip/pjsip_options.c index 698203fac..d4159f508 100644 --- a/res/res_pjsip/pjsip_options.c +++ b/res/res_pjsip/pjsip_options.c @@ -711,7 +711,8 @@ static pj_status_t send_options_response(pjsip_rx_data *rdata, int code) pj_status_t status; /* 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); return status; } |