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:
Douglas Clowes
2006-11-09 11:09:03 +11:00
parent 4b54c82d27
commit 9e9a165510
4 changed files with 36 additions and 112 deletions

View File

@@ -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);
}
}