Browse Source

Test

etomic
jl777 8 years ago
parent
commit
f755a0deec
  1. 1
      crypto777/iguana_OS.c
  2. 2
      iguana/iguana_ramchain.c

1
crypto777/iguana_OS.c

@ -422,6 +422,7 @@ void *iguana_meminit(struct OS_memspace *mem,char *name,void *ptr,int64_t totals
mem->totalsize = totalsize;
}
mem->threadsafe = threadsafe;
mem->alignflag = 4;
iguana_memreset(mem);
if ( mem->totalsize == 0 )
printf("meminit.%s ILLEGAL STATE null size\n",mem->name), getchar();

2
iguana/iguana_ramchain.c

@ -71,7 +71,7 @@ struct iguana_kvitem *iguana_hashsetPT(struct iguana_ramchain *ramchain,int32_t
printf("negative itemind\n");
iguana_exit(0,0);
}
if ( (0) )
if ( (1) )
{
if ( selector == 'T' )
HASH_FIND(hh,ramchain->txids,key,keylen,tmp);

Loading…
Cancel
Save