[OpenSIPS-Devel] [opensips] [dialog] flag for replicating profiles (#781)

Răzvan Crainea notifications at github.com
Thu Feb 25 15:35:45 CET 2016


> @@ -1176,8 +1178,8 @@ str* write_dialog_profiles( struct dlg_profile_link *links)
>  		for( i=0 ; i<link->value.len ; i++ )
>  			if (link->value.s[i]=='|' || link->value.s[i]=='#'
>  					|| link->value.s[i]=='\\') l++;
> -		if (link->profile->use_cached)
> -			l+=cached_marker.len;
> +		if (link->profile->repl_type/*==(CACHEDB||PROTOBIN)*/)

Better check if the replication type is different than REPL_NONE.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/781/files#r54102714
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160225/0cf9203b/attachment.htm>


More information about the Devel mailing list