edits
[iotcloud.git] / version2 / src / C / Transaction.cc
index 1f862df5c42a46e392f0e4663737427baa7c60bd..d316aa10985723556b2c7c2ccc3c9ab10696d854 100644 (file)
@@ -20,6 +20,9 @@ Transaction::Transaction() :
        arbitratorId(-1),
        machineId(-1),
        transactionId(Pair<int64_t, int64_t>(0,0)),
+       nextPartToSend(0),
+       flddidSendAPartToServer(false),
+       transactionStatus(NULL),
        hadServerFailure(false) {
 }
 
@@ -34,7 +37,6 @@ void Transaction::addPartEncode(TransactionPart *newPart) {
        transactionId = newPart->getTransactionId();
        clientLocalSequenceNumber = newPart->getClientLocalSequenceNumber();
        machineId = newPart->getMachineId();
-
        fldisComplete = true;
 }