From 2826cd2fccdbce8f4695b7380ef67ab845222581 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Mon, 3 Aug 2015 00:55:56 +0200 Subject: [PATCH] fix: the record reading code --- src/io/record.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- 2.47.3