[asterisk-commits] file: branch 1.2 r43705 - in /branches/1.2:
channels/ include/asterisk/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Sep 26 13:38:06 MST 2006
Author: file
Date: Tue Sep 26 15:38:06 2006
New Revision: 43705
URL: http://svn.digium.com/view/asterisk?rev=43705&view=rev
Log:
Use proper type to represent the group variable (issue #8025 reported by makoto)
Modified:
branches/1.2/channels/chan_sip.c
branches/1.2/include/asterisk/channel.h
Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=43705&r1=43704&r2=43705&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Sep 26 15:38:06 2006
@@ -7743,7 +7743,7 @@
return RESULT_SUCCESS;
}
/*! \brief print_group: Print call group and pickup group ---*/
-static void print_group(int fd, unsigned int group, int crlf)
+static void print_group(int fd, ast_group_t group, int crlf)
{
char buf[256];
ast_cli(fd, crlf ? "%s\r\n" : "%s\n", ast_print_group(buf, sizeof(buf), group) );
Modified: branches/1.2/include/asterisk/channel.h
URL: http://svn.digium.com/view/asterisk/branches/1.2/include/asterisk/channel.h?rev=43705&r1=43704&r2=43705&view=diff
==============================================================================
--- branches/1.2/include/asterisk/channel.h (original)
+++ branches/1.2/include/asterisk/channel.h Tue Sep 26 15:38:06 2006
@@ -389,8 +389,8 @@
/* A linked list for variables */
struct varshead varshead;
- unsigned int callgroup;
- unsigned int pickupgroup;
+ ast_group_t callgroup;
+ ast_group_t pickupgroup;
/*! channel flags of AST_FLAG_ type */
unsigned int flags;
More information about the asterisk-commits
mailing list