2 new revisions:
Revision: ee07a46131b5
Author: Oifa Yulian <[email protected]>
Date: Wed Jul 4 08:41:43 2012
Log: Updated Dahdi driver
http://code.google.com/p/jss7/source/detail?r=ee07a46131b5
Revision: 0c48e22c8e12
Author: Oifa Yulian <[email protected]>
Date: Wed Jul 4 08:42:30 2012
Log: Merge branch 'master' of https://code.google.com/p/jss7
http://code.google.com/p/jss7/source/detail?r=0c48e22c8e12
==============================================================================
Revision: ee07a46131b5
Author: Oifa Yulian <[email protected]>
Date: Wed Jul 4 08:41:43 2012
Log: Updated Dahdi driver
http://code.google.com/p/jss7/source/detail?r=ee07a46131b5
Modified:
/hardware/dahdi/native/src/main/native/schannel.c
=======================================
--- /hardware/dahdi/native/src/main/native/schannel.c Sun Jul 1 00:32:39
2012
+++ /hardware/dahdi/native/src/main/native/schannel.c Wed Jul 4 08:41:43
2012
@@ -81,14 +81,20 @@
struct pollfd temp[16];
int i;
- int k;
-
+ int k=0;
+
+ int found=0;
for (i = 0; i < channel_count; i++) {
if (fds[i].fd != fd) {
temp[k++] = fds[i];
}
+ else
+ found=1;
}
+ if(found==0)
+ return;
+
channel_count = channel_count - 1;
for (i = 0; i < channel_count; i++) {
==============================================================================
Revision: 0c48e22c8e12
Author: Oifa Yulian <[email protected]>
Date: Wed Jul 4 08:42:30 2012
Log: Merge branch 'master' of https://code.google.com/p/jss7
http://code.google.com/p/jss7/source/detail?r=0c48e22c8e12