Browse Source

path: updates for outboud module api

(cherry picked from commit 97c7081df94eaabd8e48b084671ea831b5ec9024)
(cherry picked from commit 8ca76f01711e59fd1567bfcbd785cb0b7b8b3942)
Daniel-Constantin Mierla 5 years ago
parent
commit
386285a75d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/path/path.c

+ 1 - 1
src/modules/path/path.c

@@ -78,7 +78,7 @@ static int handleOutbound(sip_msg_t* _m, str *user, path_param_t *param)
 	if (path_obb.use_outbound != NULL && path_obb.use_outbound(_m)) {
 		struct via_body *via;
 
-		if (path_obb.encode_flow_token(user, _m->rcv) != 0) {
+		if (path_obb.encode_flow_token(user, &_m->rcv) != 0) {
 			LM_ERR("encoding outbound flow-token\n");
 			return -1;
 		}