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

Method UnexpEndArcMsg

Libraries/unrar/arcread.cpp:96–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95
96void Archive::UnexpEndArcMsg()
97{
98 int64 ArcSize=FileLength();
99
100 // If block positions are equal to file size, this is not an error.
101 // It can happen when we reached the end of older RAR 1.5 archive,
102 // which did not have the end of archive block.
103 if (CurBlockPos!=ArcSize || NextBlockPos!=ArcSize)
104 {
105 uiMsg(UIERROR_UNEXPEOF,FileName);
106 ErrHandler.SetErrorCode(RARX_WARNING);
107 }
108}
109
110
111void Archive::BrokenHeaderMsg()

Callers

nothing calls this directly

Calls 2

uiMsgFunction · 0.85
SetErrorCodeMethod · 0.80

Tested by

no test coverage detected