[svn-commits] mnicholson: trunk r824 - /trunk/channels/chan_mobile.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Mar 26 16:42:48 CDT 2009


Author: mnicholson
Date: Thu Mar 26 16:42:43 2009
New Revision: 824

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=824
Log:
fix incorrect reference to ast_string_copy()

Modified:
    trunk/channels/chan_mobile.c

Modified: trunk/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/trunk/channels/chan_mobile.c?view=diff&rev=824&r1=823&r2=824
==============================================================================
--- trunk/channels/chan_mobile.c (original)
+++ trunk/channels/chan_mobile.c Thu Mar 26 16:42:43 2009
@@ -3549,7 +3549,7 @@
 					goto e_cleanup;
 				}
 
-				ast_string_copy(chan->exten, "s", AST_MAX_EXTENSION);
+				ast_copy_string(chan->exten, "s", AST_MAX_EXTENSION);
 				if (ast_pbx_start(chan)) {
 					ast_log(LOG_ERROR, "[%s] unable to start pbx on incoming call\n", pvt->id);
 					ast_hangup(chan);




More information about the svn-commits mailing list