This commit is contained in:
Andrey A. Chernov 1995-01-03 17:18:21 +00:00
parent 9b786fc227
commit 69bee0e6f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/ncftp/dist/; revision=5360
svn path=/vendor/ncftp/1.9.1/; revision=5362; tag=vendor/ncftp/1.9.1
4 changed files with 9 additions and 8 deletions

View File

@ -1,16 +1,11 @@
/* Copyright.h */
/* $RCSfile: copyright.h,v $
* $Revision: 14020.12 $
* $Date: 93/06/02 13:43:03 $
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* Copyright (c) 1992-1994 Mike Gleason, NCEMRSoft.
* Copyright (c) 1992-1995 Mike Gleason, NCEMRSoft.
* Copyright (c) 1985, 1989 Regents of the University of California.
* All rights reserved.
*
@ -23,7 +18,7 @@
#ifdef _main_c_
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1992, 1993 by NCEMRSoft and Copyright (c) 1985, 1989 Regents of the University of California.\n All rights reserved.\n";
static char copyright[] = "@(#) Copyright (c) 1992, 1993, 1994, 1995 by NCEMRSoft and Copyright (c) 1985, 1989 Regents of the University of California.\n All rights reserved.\n";
#endif /* not lint */
#endif /* _main_c_ */

View File

@ -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");

View File

@ -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. */

View File

@ -1,3 +1,5 @@
v1.9.1 - January 1, 1995. Passive mode fix with the SOCKS library.
v1.9.0 - December 22, 1994. The program won't exit from the interactive shell
if it's working from a tty. For example, it won't exit if you do an mget
on a pattern that won't match anything. Added padding around jmp_buf's