head	1.2;
access;
symbols
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2004.07.25.15.14.47;	author hrs;	state dead;
branches;
next	1.1;

1.1
date	2002.10.12.04.13.17;	author jwd;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Add a patch to fix a serious bug which can break a ftp
connection under some circumstances.

Approved by:	maintainer timeout (2 months)
Approved by:	linimon (mentor)
@
text
@--- jftp.c.orig	Fri Sep 27 12:46:43 2002
+++ jftp.c	Fri Sep 27 12:47:55 2002
@@@@ -980,7 +980,7 @@@@
 	/* Late versions of wu-ftpd does some kind of recursive
 	 * listing if only a '.' is given as directory.
 	 */
-	if (strcmp(dir, ".") == 0)
+	if ((strcmp(dir, ".") == 0) || !*dir)
 		res = ftp_req(c, "list %s", flags);
 	else
 		res = ftp_req(c, "list %s %s", flags, dir);
@


1.1
log
@Be a bit more precise creating the list command. This allows
spegla to interoperate with lukemftpd. A patch to lukemftpd
will allow prior versions of spegla to work correctly.

Found by: The update of releng4
@
text
@@

