opensips patch: save param p2 issue with registrar/save.c

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

opensips patch: save param p2 issue with registrar/save.c

Jiang Jinke
Hi,

I found the p2 param is not working on the save() function of registrar module.

One line change on the file:
-                                               if (flags_s.s[st]=='0') {
+                                               if (flags_s.s[st]=='2') {


Should be a typo on the condition.

Regards,
Jinke Jiang

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

save.patch (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: opensips patch: save param p2 issue with registrar/save.c

Bogdan-Andrei Iancu
Hi Jinke,

Thanks for the fix - you are right.
i uploaded the patch on SVN.

Best regards,
Bogdan

Jiang Jinke wrote:

> Hi,
>
> I found the p2 param is not working on the save() function of registrar module.
>
> One line change on the file:
> -                                               if (flags_s.s[st]=='0') {
> +                                               if (flags_s.s[st]=='2') {
>
>
> Should be a typo on the condition.
>
> Regards,
> Jinke Jiang
>  

--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel