From: Felix Dörre Date: Sun, 2 Aug 2015 22:55:56 +0000 (+0200) Subject: fix: the record reading code X-Git-Url: https://code.wpia.club/?a=commitdiff_plain;h=2826cd2fccdbce8f4695b7380ef67ab845222581;p=cassiopeia.git fix: the record reading code --- diff --git a/src/io/record.cpp b/src/io/record.cpp index c8fda58..5f51ec1 100644 --- a/src/io/record.cpp +++ b/src/io/record.cpp @@ -63,7 +63,6 @@ std::string parseCommand( RecordHeader& head, const std::string& input, std::sha bool error = false; std::string str( std::max( dlen, RECORD_HEADER_SIZE ), 0 ); - str.append( dlen, '\0' ); for( int i = 0; i < dlen; i++ ) { int32_t digit;