Fix bug in FTP root folder listing.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2006-02-08 18:44:24 +00:00
parent 92e6804e39
commit f6eb2a5394

View File

@@ -1219,7 +1219,7 @@ public class FTPSrvSession extends SrvSession implements Runnable
// Create the path for the file listing // Create the path for the file listing
FTPPath ftpPath = m_cwd; FTPPath ftpPath = m_cwd;
if (req.hasArgument()) if ( req.hasArgument())
ftpPath = generatePathForRequest(req, true); ftpPath = generatePathForRequest(req, true);
if (ftpPath == null) if (ftpPath == null)
@@ -2979,7 +2979,7 @@ public class FTPSrvSession extends SrvSession implements Runnable
if ( getClientInformation().isGuest()) if ( getClientInformation().isGuest())
shares = getDynamicShareList(); shares = getDynamicShareList();
else else
getShareList(); shares = getShareList();
if (shares != null) if (shares != null)
{ {