Set address_modified flag when we add a trailing slash (indicating a directory name) and get a cache hit. This flag is later used to sync with the nsIURL wrapper. Approved by chofmann. Reviewed by gagan.

This commit is contained in:
vidur%netscape.com 1999-06-18 17:18:49 +00:00
parent c3ba5da777
commit fc26ffdea8

View File

@ -2796,6 +2796,10 @@ NET_FindURLInCache(URL_Struct * URL_s, MWContext *ctxt)
*/
URL_s->address[PL_strlen(URL_s->address)-1] = '\0';
}
else
{
URL_s->address_modified = TRUE;
}
}
}