Parcourir la source

exec(k): append_branch() api changes

Andrei Pelinescu-Onciul il y a 16 ans
Parent
commit
820c58ec91
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      modules_k/exec/exec.c

+ 1 - 1
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;
 				goto error02;
 			}
 			}
 		} else {
 		} 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");
 				LM_ERR("append_branch failed; too many or too long URIs?\n");
 				goto error02;
 				goto error02;
 			}
 			}