minor optimization for stringfields: when a field is being set to a larger value...
commit6df92184e1703a8e585616f6d03eeada5a1693b9
authorkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 23 Jul 2008 11:52:18 +0000 (23 11:52 +0000)
committerkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 23 Jul 2008 11:52:18 +0000 (23 11:52 +0000)
tree72c8789224b248f3ca47752f0a41817e73f0f383
parent2310392375e05da6580dcc5c2f4ae5b56f2406dd
minor optimization for stringfields: when a field is being set to a larger value than it currently contains and it happens to be the most recent field allocated from the currentl pool, it is possible to 'grow' it without having to waste the space it is currently using (or potentially even allocate a new pool)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@132872 614ede4d-c843-0410-af14-a771ab80d22e
include/asterisk/stringfields.h
main/utils.c