[asterisk-commits] file: trunk r164208 - /trunk/main/utils.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 15 09:21:24 CST 2008
Author: file
Date: Mon Dec 15 09:21:23 2008
New Revision: 164208
URL: http://svn.digium.com/view/asterisk?view=rev&rev=164208
Log:
Update to work with new ast_str changes.
Modified:
trunk/main/utils.c
Modified: trunk/main/utils.c
URL: http://svn.digium.com/view/asterisk/trunk/main/utils.c?view=diff&rev=164208&r1=164207&r2=164208
==============================================================================
--- trunk/main/utils.c (original)
+++ trunk/main/utils.c Mon Dec 15 09:21:23 2008
@@ -820,7 +820,7 @@
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 @@
if (!str)
return CLI_FAILURE;
- ast_cli(a->fd, "%s", str->str);
+ ast_cli(a->fd, "%s", ast_str_buffer(str));
ast_free(str);
More information about the asterisk-commits
mailing list