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

Diff for /src/usr.bin/nc/socks.c between version 1.20 and 1.21

version 1.20, 2012/03/08 09:56:28 version 1.21, 2015/03/26 21:19:51
Line 308 
Line 308 
                 }                  }
   
                 /* Terminate headers */                  /* Terminate headers */
                 if ((r = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2)                  if ((cnt = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2)
                         err(1, "write failed (2/%d)", r);                          err(1, "write failed (%zu/2)", cnt);
   
                 /* Read status reply */                  /* Read status reply */
                 proxy_read_line(proxyfd, buf, sizeof(buf));                  proxy_read_line(proxyfd, buf, sizeof(buf));

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21