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

Diff for /src/usr.bin/tcpbench/tcpbench.c between version 1.49 and 1.50

version 1.49, 2016/03/28 11:48:38 version 1.50, 2016/04/06 14:09:06
Line 896 
Line 896 
                 }                  }
                 if (sock == -1)                  if (sock == -1)
                         errx(1, "No host found");                          errx(1, "No host found");
                 if ((r = fcntl(sock, F_GETFL, 0)) == -1)                  if ((r = fcntl(sock, F_GETFL)) == -1)
                         err(1, "fcntl(F_GETFL)");                          err(1, "fcntl(F_GETFL)");
                 r |= O_NONBLOCK;                  r |= O_NONBLOCK;
                 if (fcntl(sock, F_SETFL, r) == -1)                  if (fcntl(sock, F_SETFL, r) == -1)

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50