[BACK]Return to listen.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sndiod

Diff for /src/usr.bin/sndiod/listen.c between version 1.3 and 1.4

version 1.3, 2015/11/18 08:36:20 version 1.4, 2015/12/14 17:44:29
Line 218 
Line 218 
 {  {
         struct listen *f = arg;          struct listen *f = arg;
   
         if (file_slowaccept)          f->slowaccept = file_slowaccept;
           if (f->slowaccept)
                 return 0;                  return 0;
         pfd->fd = f->fd;          pfd->fd = f->fd;
         pfd->events = POLLIN;          pfd->events = POLLIN;
Line 228 
Line 229 
 int  int
 listen_revents(void *arg, struct pollfd *pfd)  listen_revents(void *arg, struct pollfd *pfd)
 {  {
           struct listen *f = arg;
   
           if (f->slowaccept)
                   return 0;
         return pfd->revents;          return pfd->revents;
 }  }
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4