diff options
author | Mark Michelson <mmichelson@digium.com> | 2009-07-24 19:26:26 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2009-07-24 19:26:26 +0000 |
commit | 99025f09d71386cc3a65a634e46679356108e029 (patch) | |
tree | 4308997953344410e82d2ca5a8c9022d685f9e76 /main | |
parent | 0b2b01a1fac4540d45f989171204ae2e4a92c453 (diff) |
Blocked revisions 208622 via svnmerge
........
r208622 | mmichelson | 2009-07-24 14:24:28 -0500 (Fri, 24 Jul 2009) | 16 lines
Don't impose an arbitrary limit on member lines in queues.conf
I know what some of you are thinking: "UGH! Mark, why are you using
ast_strdup and ast_free for the string when you can just use ast_strdupa
and let the memory free itself?! Have the bats been chewing on your brain
again?"
Based on past experiences, I don't like using ast_strdupa inside a loop.
It's a good way to potentially exhaust stack space. Also, since this only
happens when reloading queues, I don't think that heap allocations and
frees are going to be a huge problem.
(closes issue #15559)
Reported by: amorsen
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
0 files changed, 0 insertions, 0 deletions