fix bug #1112. For MODULAR_NETLIB never null out the fe_data field of the URL Struct...

This commit is contained in:
rpotts%netscape.com 1998-11-05 05:37:58 +00:00
parent 3f8b2d5296
commit 75e5ccea4e

View File

@ -240,7 +240,8 @@ PRIVATE int net_MultipleDocumentWrite (NET_StreamClass *stream, CONST char* s, i
/* don't cache image animations... */
format_out = CLEAR_CACHE_BIT(obj->format_out);
}
#if !defined(MODULAR_NETLIB)
/* libimg and libplugin use the fe_data to store
* urls data, so clear it only if its not them */
if( (CLEAR_CACHE_BIT(obj->format_out) != FO_INTERNAL_IMAGE)
@ -250,7 +251,7 @@ PRIVATE int net_MultipleDocumentWrite (NET_StreamClass *stream, CONST char* s, i
{
obj->URL_s->fe_data = NULL;
}
#endif /* !MODULAR_NETLIB */
/* build a stream
*/
obj->next_stream = NET_StreamBuilder(format_out,