[asterisk-commits] dlee: branch dlee/ASTERISK-21096 r383601 - in /team/dlee/ASTERISK-21096: incl...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 22 10:32:02 CDT 2013
Author: dlee
Date: Fri Mar 22 10:32:00 2013
New Revision: 383601
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383601
Log:
Swap varc and vars to be more standard order
Modified:
team/dlee/ASTERISK-21096/include/asterisk/channel.h
team/dlee/ASTERISK-21096/main/channel.c
team/dlee/ASTERISK-21096/main/manager.c
Modified: team/dlee/ASTERISK-21096/include/asterisk/channel.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-21096/include/asterisk/channel.h?view=diff&rev=383601&r1=383600&r2=383601
==============================================================================
--- team/dlee/ASTERISK-21096/include/asterisk/channel.h (original)
+++ team/dlee/ASTERISK-21096/include/asterisk/channel.h Fri Mar 22 10:32:00 2013
@@ -4159,10 +4159,10 @@
* \since 12
* \brief Sets the variables to be stored in the \a manager_vars field of all
* snapshots.
+ * \param varc Number of variable names.
* \param vars Array of variable names.
- * \param varc Number of variable names.
- */
-void ast_channel_set_manager_vars(char **vars, size_t varc);
+ */
+void ast_channel_set_manager_vars(size_t varc, char **vars);
/*!
* \since 12
Modified: team/dlee/ASTERISK-21096/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-21096/main/channel.c?view=diff&rev=383601&r1=383600&r2=383601
==============================================================================
--- team/dlee/ASTERISK-21096/main/channel.c (original)
+++ team/dlee/ASTERISK-21096/main/channel.c Fri Mar 22 10:32:00 2013
@@ -8626,7 +8626,7 @@
AST_RWLIST_UNLOCK(&channelvars);
}
-void ast_channel_set_manager_vars(char **vars, size_t varc)
+void ast_channel_set_manager_vars(size_t varc, char **vars)
{
size_t i;
Modified: team/dlee/ASTERISK-21096/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-21096/main/manager.c?view=diff&rev=383601&r1=383600&r2=383601
==============================================================================
--- team/dlee/ASTERISK-21096/main/manager.c (original)
+++ team/dlee/ASTERISK-21096/main/manager.c Fri Mar 22 10:32:00 2013
@@ -7340,7 +7340,7 @@
parse = ast_strdupa(manager_channelvars);
AST_STANDARD_APP_ARGS(args, parse);
- ast_channel_set_manager_vars(args.vars, args.argc);
+ ast_channel_set_manager_vars(args.argc, args.vars);
}
/*! \internal \brief Free a user record. Should already be removed from the list */
More information about the asterisk-commits
mailing list