Blocked revisions 162672 via svnmerge

................
r162672 | mmichelson | 2008-12-10 10:46:51 -0600 (Wed, 10 Dec 2008) | 21 lines

Blocked revisions 162670 via svnmerge

........
r162670 | mmichelson | 2008-12-10 10:44:37 -0600 (Wed, 10 Dec 2008) | 14 lines

Update to stringfield handling so that side-effects on
parameters are not evaluated multiple times.

An example where this caused a problem was in chan_sip.c, with
the line

  ast_string_field_set(p, fromdomain, ++fromdomain);

This patch was originally uploaded to issue #13783 by
jamessan. While the issue was closed for other reasons, this
patch is valid and fixes a separate problem, and is thus
being committed.


........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Mark Michelson 17 years ago
parent f4f2de61c2
commit 96740e6cce

Diff Content Not Available