From ab73b6e5561dd7f2c529cf3b9adfa623c648b3b4 Mon Sep 17 00:00:00 2001 From: David Vossel <dvossel@digium.com> Date: Mon, 1 Jun 2009 15:23:21 +0000 Subject: [PATCH] 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 --- main/threadstorage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/threadstorage.c b/main/threadstorage.c index a54ffac7ad..83c9ebe30a 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; -- GitLab