From 1091c5c4eac9fb9d470f04c1a2ae4ba5bc4d8313 Mon Sep 17 00:00:00 2001 From: Matt Wells Date: Mon, 28 Dec 2015 14:48:03 -0800 Subject: [PATCH] fix core --- Msg4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Msg4.cpp b/Msg4.cpp index f6cf727d..418dfd96 100644 --- a/Msg4.cpp +++ b/Msg4.cpp @@ -1481,7 +1481,7 @@ bool saveAddsInProgress ( char *prefix ) { // skip if got reply if ( slot->m_readBuf ) continue; // test it - int32_t used = *(int32_t *)slot->m_readBuf; + int32_t used = *(int32_t *)slot->m_sendBuf; if ( used <= 4 || used > 300000000 ) { // > 300MB???? log("msg4: saving addsinprogress. bad slot " "used size of %"INT32,used);