Skip to content

Commit 5ffbe78

Browse files
chrisethcameel
andauthored
Update libsolutil/CommonIO.cpp
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
1 parent c672b3a commit 5ffbe78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolutil/CommonIO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ string solidity::util::readBytes(istream& _input, size_t _length)
8484
string output;
8585
output.resize(_length);
8686
_input.read(output.data(), static_cast<streamsize>(_length));
87-
// If read() reads fewer bytes it sets falibit.
87+
// If read() reads fewer bytes it sets failbit in addition to eofbit.
8888
if (_input.fail())
8989
output.resize(static_cast<size_t>(_input.gcount()));
9090
return output;

0 commit comments

Comments
 (0)