diff options
author | David Vossel <dvossel@digium.com> | 2009-06-01 15:23:21 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2009-06-01 15:23:21 +0000 |
commit | ab73b6e5561dd7f2c529cf3b9adfa623c648b3b4 (patch) | |
tree | 01c6dfc66c8c9243d6cb568a5ed8a3cd80bf75d5 | |
parent | 4c7c13d5742a674af30ca19435349cadcbf72e54 (diff) |
Fixed an issue in the threadstorage cli functions resulting from the constification of struct ast_cli_args in r196072.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/threadstorage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/threadstorage.c b/main/threadstorage.c index a54ffac7a..83c9ebe30 100644 --- a/main/threadstorage.c +++ b/main/threadstorage.c @@ -125,7 +125,7 @@ void __ast_threadstorage_object_replace(void *key_old, void *key_new, size_t len static char *handle_cli_threadstorage_show_allocations(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) { - char *fn = NULL; + const char *fn = NULL; size_t len = 0; unsigned int count = 0; struct tls_object *to; @@ -169,7 +169,7 @@ static char *handle_cli_threadstorage_show_allocations(struct ast_cli_entry *e, static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) { - char *fn = NULL; + const char *fn = NULL; size_t len = 0; unsigned int count = 0; struct tls_object *to; |