Commit 808a826c authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

sal: fix sal_reason_to_sip_code prototype (returns int, not SalReason)

parent 934089d0
......@@ -169,7 +169,7 @@ void sal_op_assign_recv_headers(SalOp *op, belle_sip_message_t *incoming);
SalBodyHandler * sal_op_get_body_handler(SalOp *op, belle_sip_message_t *msg);
SalReason sal_reason_to_sip_code(SalReason r);
int sal_reason_to_sip_code(SalReason r);
void _sal_op_add_custom_headers(SalOp *op, belle_sip_message_t *msg);
......@@ -163,7 +163,7 @@ belle_sip_request_t* sal_op_build_request(SalOp *op,const char* method) {
ms_error("No To: address, cannot build request");
return NULL;
to_uri = belle_sip_header_address_get_uri(BELLE_SIP_HEADER_ADDRESS(to_address));
if( to_uri == NULL ){
ms_error("To: address is invalid, cannot build request");
......@@ -393,7 +393,7 @@ int sal_op_send_request(SalOp* op, belle_sip_request_t* request) {
return _sal_op_send_request_with_contact(op, request,need_contact);
SalReason sal_reason_to_sip_code(SalReason r){
int sal_reason_to_sip_code(SalReason r){
int ret=500;
case SalReasonNone:
oRTP @ fcd9eccf
Subproject commit 82fc707667486072a09ba904a8cf03edf68f700e
Subproject commit fcd9eccf630e1a839db756afaed99ca674b9dd8b
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment