Pārlūkot izejas kodu

nathelper: fixed handle_ruri_alias_mode(1) cannot proper handle multi alias

codenot 1 gadu atpakaļ
vecāks
revīzija
dc0738b9a1
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      src/modules/nathelper/nathelper.c

+ 0 - 2
src/modules/nathelper/nathelper.c

@@ -1160,8 +1160,6 @@ static int ki_handle_ruri_alias_mode(struct sip_msg *msg, int mode)
 				/* use first alias parameter */
 				break;
 			}
-			rest = rest + _ksr_contact_alias.len;
-			rest_len = rest_len - _ksr_contact_alias.len;
 		}
 		sep = memchr(rest, 59 /* ; */, rest_len);
 		if(sep == NULL) {