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

Diff for /src/usr.bin/nc/netcat.c between version 1.106 and 1.107

version 1.106, 2012/03/17 10:16:41 version 1.107, 2012/04/01 02:58:57
Line 369 
Line 369 
                                 len = sizeof(cliaddr);                                  len = sizeof(cliaddr);
                                 connfd = accept(s, (struct sockaddr *)&cliaddr,                                  connfd = accept(s, (struct sockaddr *)&cliaddr,
                                     &len);                                      &len);
                                   if (connfd == -1)
                                           err(1, "accept");
                                 readwrite(connfd);                                  readwrite(connfd);
                                 close(connfd);                                  close(connfd);
                         }                          }

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107