mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
sal: fix sal_reason_to_sip_code prototype (returns int, not SalReason)
This commit is contained in:
parent
934089d0a2
commit
808a826c0f
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
switch(r){
|
||||
case SalReasonNone:
|
||||
|
|
|
|||
2
oRTP
2
oRTP
|
|
@ -1 +1 @@
|
|||
Subproject commit 82fc707667486072a09ba904a8cf03edf68f700e
|
||||
Subproject commit fcd9eccf630e1a839db756afaed99ca674b9dd8b
|
||||
Loading…
Add table
Reference in a new issue