aboutsummaryrefslogtreecommitdiffstats
path: root/main/utils.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-15 15:21:23 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-15 15:21:23 +0000
commitf983328611a43bc9c82c3fa5963afd84e4099428 (patch)
tree3866e9969a2e867fd2a0d253b1966b49a23f8d4c /main/utils.c
parent0eb8bb478438587d95dd0e882ddcdb01b8e71376 (diff)
Update to work with new ast_str changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164208 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c4
1 files changed, 2 insertions, 2 deletions
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);