|
@ -859,7 +859,7 @@ void LP_aliceloop(void *_swap) |
|
|
{ |
|
|
{ |
|
|
uint8_t *data; int32_t maxlen,n,m; uint32_t expiration; struct basilisk_swap *swap = _swap; |
|
|
uint8_t *data; int32_t maxlen,n,m; uint32_t expiration; struct basilisk_swap *swap = _swap; |
|
|
G.LP_pendingswaps++; |
|
|
G.LP_pendingswaps++; |
|
|
maxlen = 1024*1024 + sizeof(*swap); |
|
|
maxlen = 128*1024 + sizeof(*swap); |
|
|
data = malloc(maxlen); |
|
|
data = malloc(maxlen); |
|
|
expiration = (uint32_t)time(NULL) + LP_SWAPSTEP_TIMEOUT; |
|
|
expiration = (uint32_t)time(NULL) + LP_SWAPSTEP_TIMEOUT; |
|
|
if ( swap != 0 ) |
|
|
if ( swap != 0 ) |
|
|