diff options
author | Joshua Colp <jcolp@digium.com> | 2016-12-09 05:33:26 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-12-09 05:33:26 -0600 |
commit | 3fcc35c66c3109da2475f642ec525db02e4965a8 (patch) | |
tree | b9b02d60ebdc34000ecd31f72de5af31673948f6 | |
parent | 963735dfcee62d818dee8641e4377d51910035ee (diff) | |
parent | 934aa2c768e3b0bd33e2308d91b5623be3a0e27c (diff) |
Merge "res_pjsip: Fix 'A = B != C' kind."
-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 d2b812dfc..6fd3c2575 100644 --- a/res/res_pjsip/pjsip_options.c +++ b/res/res_pjsip/pjsip_options.c @@ -701,7 +701,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; } |