more conversion from counter to DIO
r1264 | dcl | 2006-11-09 11:09:03 +1100 (Thu, 09 Nov 2006) | 2 lines
This commit is contained in:
@@ -457,13 +457,14 @@ void sock_send(int n, BUFFER* bp)
|
||||
*
|
||||
* \param bp pointer to buffer containing report
|
||||
* \param match value to match for this report
|
||||
* \param dev device to match
|
||||
*/
|
||||
void sock_report(BUFFER* bp, int match)
|
||||
void sock_report(BUFFER* bp, int match, void* dev)
|
||||
{
|
||||
int i;
|
||||
for (i = 1; i < num_fds; ++i)
|
||||
{
|
||||
if (fdv[i].match == match)
|
||||
if (fdv[i].match == match && fdv[i].device == dev)
|
||||
sock_send(i, bp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user