diff options
author | Russell Bryant <russell@russellbryant.com> | 2009-03-27 16:21:10 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2009-03-27 16:21:10 +0000 |
commit | 2a4f9f7181042e2f2bd7fd2044aed706b23f8c3d (patch) | |
tree | c129f27145243772d95520bb1dcc341e548d40e1 /apps | |
parent | b101b68e2faf6a6065979d506d779c6606dec58f (diff) |
Change global_app_buf to ast_str_thread_global_buf.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dumpchan.c | 2 | ||||
-rw-r--r-- | apps/app_queue.c | 2 | ||||
-rw-r--r-- | apps/app_voicemail.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c index c598bee75..739fe241b 100644 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -149,7 +149,7 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) static int dumpchan_exec(struct ast_channel *chan, void *data) { - struct ast_str *vars = ast_str_thread_get(&global_app_buf, 16); + struct ast_str *vars = ast_str_thread_get(&ast_str_thread_global_buf, 16); char info[1024]; int level = 0; static char *line = "================================================================================"; diff --git a/apps/app_queue.c b/apps/app_queue.c index 4da2eac72..260745d65 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2319,7 +2319,7 @@ static void do_hang(struct callattempt *o) /*! \brief convert "\n" to "\nVariable: " ready for manager to use */ static char *vars2manager(struct ast_channel *chan, char *vars, size_t len) { - struct ast_str *buf = ast_str_thread_get(&global_app_buf, len + 1); + struct ast_str *buf = ast_str_thread_get(&ast_str_thread_global_buf, len + 1); char *tmp; if (pbx_builtin_serialize_variables(chan, &buf)) { diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b2ec1e081..7d3b6e6b7 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -10267,7 +10267,7 @@ static const char *substitute_escapes(const char *value) char *current; /* Add 16 for fudge factor */ - struct ast_str *str = ast_str_thread_get(&global_app_buf, strlen(value) + 16); + struct ast_str *str = ast_str_thread_get(&ast_str_thread_global_buf, strlen(value) + 16); ast_str_reset(str); |