[asterisk-commits] qwell: trunk r100843 - in /trunk: ./ channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jan 29 10:14:09 CST 2008
Author: qwell
Date: Tue Jan 29 10:14:08 2008
New Revision: 100843
URL: http://svn.digium.com/view/asterisk?view=rev&rev=100843
Log:
Merged revisions 100835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r100835 | qwell | 2008-01-29 10:10:00 -0600 (Tue, 29 Jan 2008) | 5 lines
Allow zap groups above 30 to work properly.
(closes issue #11590)
Reported by: tbsky
........
Modified:
trunk/ (props changed)
trunk/channels/chan_zap.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=100843&r1=100842&r2=100843
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Tue Jan 29 10:14:08 2008
@@ -8533,7 +8533,7 @@
return tmp;
}
-static inline int available(struct zt_pvt *p, int channelmatch, int groupmatch, int *busy, int *channelmatched, int *groupmatched)
+static inline int available(struct zt_pvt *p, int channelmatch, ast_group_t groupmatch, int *busy, int *channelmatched, int *groupmatched)
{
int res;
ZT_PARAMS par;
@@ -8713,7 +8713,7 @@
static struct ast_channel *zt_request(const char *type, int format, void *data, int *cause)
{
- int groupmatch = 0;
+ ast_group_t groupmatch = 0;
int channelmatch = -1;
int roundrobin = 0;
int callwait = 0;
@@ -8756,7 +8756,7 @@
ast_log(LOG_WARNING, "Unable to determine group for data %s\n", (char *)data);
return NULL;
}
- groupmatch = 1 << x;
+ groupmatch = ((ast_group_t) 1 << x);
if (toupper(dest[0]) == 'G') {
if (dest[0] == 'G') {
backwards = 1;
More information about the asterisk-commits
mailing list