* Print Request-URI */
| 647 | * Print Request-URI |
| 648 | */ |
| 649 | static inline char* print_request_uri(char* w, str* method, dlg_t* dialog, struct cell* t, int branch) |
| 650 | { |
| 651 | append_string(w, method->s, method->len); |
| 652 | *(w++) = ' '; |
| 653 | |
| 654 | TM_BRANCH(t,branch).uri.s = w; |
| 655 | TM_BRANCH(t,branch).uri.len = dialog->hooks.request_uri->len; |
| 656 | |
| 657 | append_string(w, dialog->hooks.request_uri->s, dialog->hooks.request_uri->len); |
| 658 | append_string(w, " " SIP_VERSION CRLF, 1 + SIP_VERSION_LEN + CRLF_LEN); |
| 659 | LM_DBG("%.*s\n",dialog->hooks.request_uri->len, dialog->hooks.request_uri->s ); |
| 660 | return w; |
| 661 | } |
| 662 | |
| 663 | |
| 664 | /* |