Skip to content

Commit

Permalink
xmlrpc: updates for new signature of via_builder()
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Oct 4, 2018
1 parent 6e4c047 commit d9b1f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/xmlrpc/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ int create_via(sip_msg_t* msg, char* s1, char* s2)
hp.port = &port;

init_dst_from_rcv(&dst, &msg->rcv);
via = via_builder(&via_len, &dst, 0, 0, &hp);
via = via_builder(&via_len, NULL, &dst, 0, 0, &hp);
if (!via) {
ERR("Unable to build Via header field\n");
return -1;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/xmlrpc/xmlrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2240,7 +2240,7 @@ static char* http_xmlrpc2sip(sip_msg_t* msg, int* new_msg_len)
hp.host = &ip;
hp.port = &port;
init_dst_from_rcv(&dst, &msg->rcv);
via = via_builder(&via_len, &dst, 0, 0, &hp);
via = via_builder(&via_len, NULL, &dst, 0, 0, &hp);
if (via == 0) {
DEBUG("failed to build via\n");
return 0;
Expand Down

0 comments on commit d9b1f42

Please sign in to comment.