summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2009-03-27 16:21:10 +0000
committerRussell Bryant <russell@russellbryant.com>2009-03-27 16:21:10 +0000
commit2a4f9f7181042e2f2bd7fd2044aed706b23f8c3d (patch)
treec129f27145243772d95520bb1dcc341e548d40e1 /main
parentb101b68e2faf6a6065979d506d779c6606dec58f (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 'main')
-rw-r--r--main/app.c2
-rw-r--r--main/cli.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/app.c b/main/app.c
index 5acde1baa..7b79915ea 100644
--- a/main/app.c
+++ b/main/app.c
@@ -52,7 +52,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/linkedlists.h"
#include "asterisk/threadstorage.h"
-AST_THREADSTORAGE_PUBLIC(global_app_buf);
+AST_THREADSTORAGE_PUBLIC(ast_str_thread_global_buf);
#define MAX_OTHER_FORMATS 10
diff --git a/main/cli.c b/main/cli.c
index 0bf8151e6..d6ee56adf 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1259,7 +1259,7 @@ static char *handle_showchan(struct ast_cli_entry *e, int cmd, struct ast_cli_ar
{
struct ast_channel *c=NULL;
struct timeval now;
- struct ast_str *out = ast_str_thread_get(&global_app_buf, 16);
+ struct ast_str *out = ast_str_thread_get(&ast_str_thread_global_buf, 16);
char cdrtime[256];
char nf[256], wf[256], rf[256];
long elapsed_seconds=0;