mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 04:07:13 +03:00
fix core
This commit is contained in:
parent
21c337be27
commit
1091c5c4ea
2
Msg4.cpp
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user