[asterisk-commits] mnicholson: branch 1.8 r335790 - /branches/1.8/main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 14 08:28:19 CDT 2011
Author: mnicholson
Date: Wed Sep 14 08:28:16 2011
New Revision: 335790
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=335790
Log:
The tech and data members of fast_originate_helper are not string fields.
ASTERISK-17709
Modified:
branches/1.8/main/manager.c
Modified: branches/1.8/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/manager.c?view=diff&rev=335790&r1=335789&r2=335790
==============================================================================
--- branches/1.8/main/manager.c (original)
+++ branches/1.8/main/manager.c Wed Sep 14 08:28:16 2011
@@ -3952,8 +3952,8 @@
if (!ast_strlen_zero(id)) {
ast_string_field_build(fast, idtext, "ActionID: %s", id);
}
- ast_string_field_set(fast, tech, tech);
- ast_string_field_set(fast, data, data);
+ ast_copy_string(fast->tech, tech, sizeof(fast->tech));
+ ast_copy_string(fast->data, data, sizeof(fast->data));
ast_string_field_set(fast, app, app);
ast_string_field_set(fast, appdata, appdata);
ast_string_field_set(fast, cid_num, l);
More information about the asterisk-commits
mailing list