Fixing serialization bug caused by git automerge
authorHamed Gorjiara <hgorjiar@uci.edu>
Thu, 2 Nov 2017 18:30:02 +0000 (11:30 -0700)
committerHamed Gorjiara <hgorjiar@uci.edu>
Thu, 2 Nov 2017 18:30:02 +0000 (11:30 -0700)
src/Serialize/serializer.cc

index d970676a3c446b3cea8fe6a862ff3f36f798421b..daa8ba015bba9514ae31ebd216bc71e02e51756c 100644 (file)
@@ -67,7 +67,6 @@ void Serializer::mywrite(const void *__buf, size_t __n) {
                                flushBuffer();
                                __n -= datatowrite;
                                towrite += datatowrite;
-                                __n-=datatowrite;
                        } else if (spacefree == __n) {
                                flushBuffer();
                                return;