[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.1 and 1.2

version 1.1, 2001/09/02 18:45:41 version 1.2, 2001/10/28 19:45:17
Line 1 
Line 1 
 /*      $OpenBSD$       */  *       $OpenBSD$       */
   
 /*  /*
  * Copyright (c) 1999 Niklas Hallqvist.  All rights reserved.   * Copyright (c) 1999 Niklas Hallqvist.  All rights reserved.
Line 84 
Line 84 
 socks_connect (char *host, char *port, struct addrinfo hints,  socks_connect (char *host, char *port, struct addrinfo hints,
     char *proxyhost, char *proxyport, struct addrinfo proxyhints)      char *proxyhost, char *proxyport, struct addrinfo proxyhints)
 {  {
         char *proxyport_default;  
         int proxyfd;          int proxyfd;
         unsigned char buf[SOCKS_MAXCMDSZ];          unsigned char buf[SOCKS_MAXCMDSZ];
         ssize_t cnt;          ssize_t cnt;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2