[Kamailio-Devel] SF.net SVN: openser:[5252] trunk/modules/maxfwd/mf_funcs.c

Henning Westerholt henning.westerholt at 1und1.de
Mon Nov 24 18:50:17 CET 2008


Revision: 5252
          http://openser.svn.sourceforge.net/openser/?rev=5252&view=rev
Author:   henningw
Date:     2008-11-24 17:50:16 +0000 (Mon, 24 Nov 2008)

Log Message:
-----------
- port from opensips (#4939), credits to Bogdan
- 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
- fixed internal link corruption when 'mf_process_maxfwd_header' is used
  more than once in the script.

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