From 6df30fb8cc4e1e74705435ecb883e14966ba9972 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 15 Dec 2008 15:21:23 +0000 Subject: Update to work with new ast_str changes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164208 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/utils.c') diff --git a/main/utils.c b/main/utils.c index 6651f9281..e3d64c3dc 100644 --- a/main/utils.c +++ b/main/utils.c @@ -820,7 +820,7 @@ void log_show_lock(void *this_lock_addr) it's acquired... */ if (lock_info->locks[i].lock_addr == this_lock_addr) { append_lock_information(&str, lock_info, i); - ast_log(LOG_NOTICE, "%s", str->str); + ast_log(LOG_NOTICE, "%s", ast_str_buffer(str)); break; } } @@ -893,7 +893,7 @@ static char *handle_show_locks(struct ast_cli_entry *e, int cmd, struct ast_cli_ if (!str) return CLI_FAILURE; - ast_cli(a->fd, "%s", str->str); + ast_cli(a->fd, "%s", ast_str_buffer(str)); ast_free(str); -- cgit v1.2.3