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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Nov 5 14:28:11 CET 2008


Revision: 4908
          http://opensips.svn.sourceforge.net/opensips/?rev=4908&view=rev
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:
--------------
    trunk/modules/maxfwd/mf_funcs.c


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



More information about the Devel mailing list