Commit d73cfb92 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Fix structured error callback implementation when no message data available.

parent 1dab6112
......@@ -96,7 +96,12 @@ void wineXmlCallbackError(char const* caller, xmlErrorPtr err)
case XML_ERR_WARNING: dbcl = __WINE_DBCL_WARN; break;
default: dbcl = __WINE_DBCL_ERR; break;
}
wine_dbg_log(dbcl, &__wine_dbch_msxml, caller, "%s", debugstr_a(err->message));
wine_dbg_log(dbcl, &__wine_dbch_msxml, caller, "error code %d", err->code);
if (err->message)
wine_dbg_log(dbcl, &__wine_dbch_msxml, caller, ": %s", err->message);
else
wine_dbg_log(dbcl, &__wine_dbch_msxml, caller, "\n");
}
/* Support for loading xml files from a Wine Windows drive */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment