Merge pull request #329 from BBIGQ-LYQ/patch-1

Update mxml-options.c
master
Michael R Sweet 3 weeks ago committed by GitHub
commit 68a9c50f5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      mxml-options.c

@ -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…
Cancel
Save