From 06eafa1f9df1448610cf7bdfb9525cce9b41eecb Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Tue, 24 Aug 1999 22:08:55 +0000 Subject: [PATCH] Okay, checking back in my fix for the filespec and iterator. git-svn-id: svn://10.0.0.236/trunk@44375 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/file/src/nsDirectoryIndexStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/netwerk/protocol/file/src/nsDirectoryIndexStream.cpp b/mozilla/netwerk/protocol/file/src/nsDirectoryIndexStream.cpp index 859d5d1bb94..1fff664b4e3 100644 --- a/mozilla/netwerk/protocol/file/src/nsDirectoryIndexStream.cpp +++ b/mozilla/netwerk/protocol/file/src/nsDirectoryIndexStream.cpp @@ -150,7 +150,7 @@ nsDirectoryIndexStream::Read(char* aBuf, PRUint32 aCount, PRUint32* aReadCount) // Okay, now we'll suck stuff off of our iterator into the mBuf... while (PRUint32(mBuf.Length()) < aCount && mIter->Exists()) { - const nsFileSpec& current = mIter->Spec(); + nsFileSpec current = mIter->Spec(); ++(*mIter); PRFileInfo fileinfo;