SF.net SVN: opensips:[4908] trunk/modules/maxfwd/mf_funcs.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

SF.net SVN: opensips:[4908] trunk/modules/maxfwd/mf_funcs.c

Bogdan-Andrei Iancu
Revision: 4908
Author:   bogdan_iancu
Date:     2008-11-05 13:28:10 +0000 (Wed, 05 Nov 2008)

Log Message:
- fixed bug in decrementing the max_forward value: The issue occurs when calling 'mf_process_maxfwd_header' or 'is_maxfwd_lt' script functions more than once within a single script execution The second occurrence always returns as if the max forward header value has reached zero due to an issue with the temporary value (max forwards count) stored by the module being overwritten with zero during an int to string conversion

Credits to:
Peter Baer (pbaer at galaxytelecom dot net)
Tavis Paquette (tavis at galaxytelecom dot net)

Closes patch #2223501.

Modified Paths:

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Devel mailing list
[hidden email]