MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / CheckArc

Method CheckArc

Libraries/unrar/archive.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62
63void Archive::CheckArc(bool EnableBroken)
64{
65 if (!IsArchive(EnableBroken))
66 {
67 // If FailedHeaderDecryption is set, we already reported that archive
68 // password is incorrect.
69 if (!FailedHeaderDecryption)
70 uiMsg(UIERROR_BADARCHIVE,FileName);
71 ErrHandler.Exit(RARX_FATAL);
72 }
73}
74
75
76#if !defined(SFX_MODULE)

Callers 1

MergeArchiveFunction · 0.80

Calls 2

uiMsgFunction · 0.85
ExitMethod · 0.80

Tested by

no test coverage detected