зеркало из https://github.com/mozilla/pjs.git
linux breakage.
This commit is contained in:
Родитель
e412e0e50e
Коммит
9cd996780d
|
@ -270,7 +270,7 @@ nsFTPDirListingConv::OnDataAvailable(nsIChannel *channel, nsISupports *ctxt,
|
|||
}
|
||||
|
||||
rv = ParseLSLine(line, thisEntry);
|
||||
if ( NS_FAILED(rv) || (thisEntry->mName == "..") || (thisEntry->mName == ".") ) {
|
||||
if ( NS_FAILED(rv) || (thisEntry->mName.Equals("..")) || (thisEntry->mName.Equals(".")) ) {
|
||||
NS_DELETEXPCOM(thisEntry);
|
||||
if (cr)
|
||||
line = eol+2;
|
||||
|
|
Загрузка…
Ссылка в новой задаче