Module: sip-router
Branch: master
Commit: 820c58ec91c147548bcfcaca1a2786f46a1e7456
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=820c58e…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Sep 29 20:05:24 2009 +0200
exec(k): append_branch() api changes
---
modules_k/exec/exec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/exec/exec.c b/modules_k/exec/exec.c
index fd7ce02..2ce7895 100644
--- a/modules_k/exec/exec.c
+++ b/modules_k/exec/exec.c
@@ -167,7 +167,7 @@ int exec_str(struct sip_msg *msg, char *cmd, char *param, int
param_len) {
goto error02;
}
} else {
- if (append_branch(msg, uri.s, uri.len, 0, 0, Q_UNSPECIFIED, 0)==-1) {
+ if (append_branch(msg, &uri, 0, 0, Q_UNSPECIFIED, 0, 0)==-1) {
LM_ERR("append_branch failed; too many or too long URIs?\n");
goto error02;
}