[asterisk-commits] mvanbaak: trunk r164028 - /trunk/res/snmp/agent.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Dec 13 07:26:15 CST 2008
Author: mvanbaak
Date: Sat Dec 13 07:26:13 2008
New Revision: 164028
URL: http://svn.digium.com/view/asterisk?view=rev&rev=164028
Log:
nuke another use of the ast_str internals.
Modified:
trunk/res/snmp/agent.c
Modified: trunk/res/snmp/agent.c
URL: http://svn.digium.com/view/asterisk/trunk/res/snmp/agent.c?view=diff&rev=164028&r1=164027&r2=164028
==============================================================================
--- trunk/res/snmp/agent.c (original)
+++ trunk/res/snmp/agent.c Sat Dec 13 07:26:13 2008
@@ -483,8 +483,8 @@
break;
case ASTCHANVARIABLES:
if (pbx_builtin_serialize_variables(chan, &out)) {
- *var_len = strlen(out->str);
- ret = (u_char *)out->str;
+ *var_len = strlen(ast_str_buffer(out));
+ ret = (u_char *)ast_str_buffer(out);
}
break;
case ASTCHANFLAGS:
More information about the asterisk-commits
mailing list