mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 18:03:34 +00:00
Use proper type to represent the group variable (issue #8025 reported by makoto)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7743,7 +7743,7 @@ static int sip_show_objects(int fd, int argc, char *argv[])
|
||||
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) );
|
||||
|
||||
@@ -389,8 +389,8 @@ struct ast_channel {
|
||||
/* 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;
|
||||
|
||||
Reference in New Issue
Block a user