fix bug #1112. For MODULAR_NETLIB never null out the fe_data field of the URL Struct...
git-svn-id: svn://10.0.0.236/trunk@14131 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user