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

Diff for /src/usr.bin/aucat/Attic/sock.c between version 1.10 and 1.11

version 1.10, 2008/12/17 07:19:27 version 1.11, 2008/12/29 17:59:08
Line 55 
Line 55 
         struct sock *f = (struct sock *)p->u.io.file;          struct sock *f = (struct sock *)p->u.io.file;
   
         DPRINTFN(1, "rsock_done: %p\n", f);          DPRINTFN(1, "rsock_done: %p\n", f);
           if (f == NULL)
                   return;
         sock_reset(f);          sock_reset(f);
         f->pipe.file.rproc = NULL;          f->pipe.file.rproc = NULL;
         if (f->pipe.file.wproc) {          if (f->pipe.file.wproc) {
                 aproc_del(f->pipe.file.wproc);                  aproc_del(f->pipe.file.wproc);
                 file_del(&f->pipe.file);                  file_del(&f->pipe.file);
         }          }
           p->u.io.file = NULL;
 }  }
   
 int  int
Line 160 
Line 163 
         struct sock *f = (struct sock *)p->u.io.file;          struct sock *f = (struct sock *)p->u.io.file;
   
         DPRINTFN(1, "wsock_done: %p\n", f);          DPRINTFN(1, "wsock_done: %p\n", f);
           if (f == NULL)
                   return;
         sock_reset(f);          sock_reset(f);
         f->pipe.file.wproc = NULL;          f->pipe.file.wproc = NULL;
         if (f->pipe.file.rproc) {          if (f->pipe.file.rproc) {
                 aproc_del(f->pipe.file.rproc);                  aproc_del(f->pipe.file.rproc);
                 file_del(&f->pipe.file);                  file_del(&f->pipe.file);
         }          }
           p->u.io.file = NULL;
 }  }
   
 int  int

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11