Skip to content
Snippets Groups Projects
Commit d73cfb92 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

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

parent 1dab6112
Branches
Tags
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment