Module: sip-router
Branch: andrei/path
Commit: 71cd365421f6ee1ac302e2c1d3473f71bb74dd30
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=71cd365…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Sep 4 15:22:07 2009 +0200
exec(s): use ser_append_branch() instead of append_branch()
---
modules_s/exec/exec.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_s/exec/exec.c b/modules_s/exec/exec.c
index 73ed123..1f60aab 100644
--- a/modules_s/exec/exec.c
+++ b/modules_s/exec/exec.c
@@ -171,7 +171,8 @@ int exec_str(struct sip_msg *msg, str* cmd, char *param, int
param_len) {
goto error02;
}
} else {
- if (append_branch(msg, uri_line, uri_len, 0, 0, Q_UNSPECIFIED, 0)==-1) {
+ if (ser_append_branch(msg, uri_line, uri_len, 0, 0,
+ Q_UNSPECIFIED, 0)==-1) {
LOG(L_ERR, "ERROR: exec_str: append_branch failed;"
" too many or too long URIs?\n");
goto error02;