diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-10-20 10:36:27 +0000 | 
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-10-20 10:36:27 +0000 | 
| commit | 9d649c1fd0046a2172a10e11fb159732c53c73df (patch) | |
| tree | ab179989f14097a85570a9e0667fa5a101098f24 /lib/libfetch | |
| parent | 5728b151414a0320c5d0d5d7825589c7d33500a0 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch')
| -rw-r--r-- | lib/libfetch/ftp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index 7897adf91e55..0ee748830d9e 100644 --- a/lib/libfetch/ftp.c +++ b/lib/libfetch/ftp.c @@ -866,7 +866,7 @@ _ftp_cached_connect(struct url *url, struct url *purl, const char *flags)  	if (_ftp_isconnected(url)) {  		e = _ftp_cmd(cached_connection, "NOOP");  		if (e == FTP_OK || e == FTP_SYNTAX_ERROR) -			return (cached_connection); +			return (_fetch_ref(cached_connection));  	}  	/* connect to server */  | 
