mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Merge
This commit is contained in:
parent
07f055ac21
commit
8384611bea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5363
@ -1753,7 +1753,11 @@ int initconn(void)
|
||||
bcopy( (void *)&n[0], (void *)&data_addr.sin_addr, 4 );
|
||||
bcopy( (void *)&n[4], (void *)&data_addr.sin_port, 2 );
|
||||
|
||||
#ifdef SOCKS
|
||||
if (Rconnect( data, (struct sockaddr *) &data_addr, (int) sizeof(data_addr) ) < 0 ) {
|
||||
#else
|
||||
if (Connect( data, &data_addr, sizeof(data_addr) ) < 0 ) {
|
||||
#endif
|
||||
if (errno == ECONNREFUSED) {
|
||||
dbprintf("Could not connect to port specified by server;\n");
|
||||
dbprintf("Falling back to PORT mode.\n");
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#define _main_c_
|
||||
|
||||
#define FTP_VERSION "1.9.0 (December 22, 1994)"
|
||||
#define FTP_VERSION "1.9.1 (January 1, 1995)"
|
||||
|
||||
/* #define BETA 1 */ /* If defined, it prints a little warning message. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user