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

Diff for /src/usr.bin/ftp/fetch.c between version 1.33 and 1.34

version 1.33, 2000/06/30 16:00:15 version 1.34, 2001/06/23 22:48:44
Line 98 
Line 98 
 {  {
         struct addrinfo hints, *res0, *res;          struct addrinfo hints, *res0, *res;
         int error;          int error;
         int i, out, isftpurl, isfileurl;          int i, isftpurl, isfileurl;
         volatile int s;          volatile int s, out;
         size_t len;          size_t len;
         char c, *cp, *ep, *portnum, *path, buf[4096];          char c, *cp, *ep, *portnum, *path, buf[4096];
         char pbuf[NI_MAXSERV];          char pbuf[NI_MAXSERV];
         const char *savefile;          const char * volatile savefile;
         char *line, *proxy, *host, *port;          char *line, *host, *port;
           char * volatile proxy;
         char *hosttail;          char *hosttail;
         volatile sig_t oldintr;          volatile sig_t oldintr;
         off_t hashbytes;          off_t hashbytes;
Line 114 
Line 115 
         proxy = NULL;          proxy = NULL;
         isftpurl = 0;          isftpurl = 0;
         isfileurl = 0;          isfileurl = 0;
   
 #ifdef __GNUC__                         /* XXX: to shut up gcc warnings */  
         (void)&out;  
         (void)&proxy;  
         (void)&savefile;  
 #endif  
   
         line = strdup(origline);          line = strdup(origline);
         if (line == NULL)          if (line == NULL)

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34