mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 03:15:30 +00:00
commit
68a9c50f5b
@ -538,7 +538,7 @@ _mxml_error(mxml_options_t *options, // I - Load/save options
|
||||
va_end(ap);
|
||||
|
||||
// And then display the error message...
|
||||
if (options->error_cb)
|
||||
if (options && options->error_cb)
|
||||
(options->error_cb)(options->error_cbdata, s);
|
||||
else
|
||||
fprintf(stderr, "%s\n", s);
|
||||
|
Loading…
Reference in New Issue
Block a user