Commit 8a133041 authored by morse%netscape.com's avatar morse%netscape.com
Browse files

Cookie Permission file was not getting read in, r=dp

parent f4114401
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -356,11 +356,15 @@ nsresult cookie_Get(nsInputFileStream strm, char& c) {

  if (next == count) {
    if (count < BUFSIZE) {
      next = BUFSIZE;
      count = BUFSIZE;
      return NS_ERROR_FAILURE;
    }
    count = strm.read(buffer, BUFSIZE);
    next = 0;
    if (count == 0) {
      next = BUFSIZE;
      count = BUFSIZE;
      return NS_ERROR_FAILURE;
    }
  }