source:
npl/system/netkit-ftp/patches/11-netkit-ftp-0.17-data.patch
@
d849d83
Last change on this file since d849d83 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 531 bytes |
-
netkit-ftp-0.17/ftp/ftp.c
old new 1223 1223 static int 1224 1224 initconn(void) 1225 1225 { 1226 int rc; 1226 1227 u_char *p, *a; 1227 1228 int result, tmpno = 0; 1228 1229 socklen_t len; … … 1240 1241 } 1241 1242 #endif 1242 1243 if (passivemode) { 1244 if (data >= 0){ 1245 rc = close (data); 1246 data = -1; 1247 if (rc == -1){ 1248 perror ("ftp: close"); 1249 } 1250 } 1243 1251 data_addr = hisctladdr; 1244 1252 data = socket(data_addr.su_family, SOCK_STREAM, 0); 1245 1253 if (data < 0) {
Note: See TracBrowser
for help on using the repository browser.