FS-6688: #resolve fix resubscribe through proxy with record route when the resub does not have a record route and the route has uri params

This commit is contained in:
Michael Jerris 2015-01-07 17:41:19 -05:00
parent 91758c6334
commit 6afc2b5a2e
1 changed files with 2 additions and 2 deletions

View File

@ -3906,8 +3906,8 @@ void sofia_presence_handle_sip_i_subscribe(int status,
if (strstr(buf, "fs_path=") && !strstr(contact_str, "fs_path=")) {
char *e = strchr(buf,';');
size_t l = e ? buf-e : strlen(buf);
if (strncmp(contact_str,buf,l)) {
size_t l = e ? e-buf : strlen(buf);
if (!strncmp(contact_str,buf,l)) {
contact = buf;
}
}