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

Diff for /src/usr.bin/ftp/ftp.c between version 1.62 and 1.63

version 1.62, 2006/04/25 05:45:20 version 1.63, 2006/05/16 16:20:42
Line 146 
Line 146 
                         snprintf(pbuf, sizeof(pbuf), "%d", GATE_PORT);                          snprintf(pbuf, sizeof(pbuf), "%d", GATE_PORT);
                 else if (strcmp(port, "http") == 0)                  else if (strcmp(port, "http") == 0)
                         snprintf(pbuf, sizeof(pbuf), "%d", HTTP_PORT);                          snprintf(pbuf, sizeof(pbuf), "%d", HTTP_PORT);
   #ifndef SMALL
                   else if (strcmp(port, "https") == 0)
                           snprintf(pbuf, sizeof(pbuf), "%d", HTTPS_PORT);
   #endif
                 if (pbuf[0])                  if (pbuf[0])
                         error = getaddrinfo(host, pbuf, &hints, &res0);                          error = getaddrinfo(host, pbuf, &hints, &res0);
         }          }

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63