fixed SF# 1968106: DigestOutputStream losing data

This commit is contained in:
Guenter Obiltschnig 2008-05-20 17:19:27 +00:00
parent 7a0aa6987c
commit 1de922e8c3

View File

@ -62,7 +62,7 @@ DigestBuf::DigestBuf(DigestEngine& eng, std::istream& istr):
DigestBuf::DigestBuf(DigestEngine& eng, std::ostream& ostr):
BufferedStreamBuf(BUFFER_SIZE, std::ios::in),
BufferedStreamBuf(BUFFER_SIZE, std::ios::out),
_eng(eng),
_pIstr(0),
_pOstr(&ostr)