mirror of https://github.com/fadden/nulib2.git
Initialize the "local" error handler to the "global" error handler, so
that errors that arise when opening an archive don't get sent to the uninitialized local handler.
This commit is contained in:
parent
38dafdc774
commit
4c24cb0c9f
|
@ -93,6 +93,7 @@ Nu_NuArchiveNew(NuArchive** ppArchive)
|
|||
(*ppArchive)->valMimicSHK = false;
|
||||
(*ppArchive)->valMaskDataless = false;
|
||||
|
||||
(*ppArchive)->messageHandlerFunc = gNuGlobalErrorMessageHandler;
|
||||
|
||||
return kNuErrNone;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue