This commit is contained in:
jl777
2017-01-20 22:47:35 +02:00
parent 64449ba819
commit 4b111c219f

View File

@@ -681,6 +681,7 @@ int32_t komodo_kvsearch(int32_t current_height,uint32_t *flagsp,int32_t *heightp
if ( ptr != 0 ) if ( ptr != 0 )
{ {
duration = ((ptr->flags >> 2) + 1) * KOMODO_KVDURATION; duration = ((ptr->flags >> 2) + 1) * KOMODO_KVDURATION;
printf("duration.%d flags.%d current.%d ht.%d\n",duration,ptr->flags,current_height,ptr->height);
if ( current_height > (ptr->height + duration) ) if ( current_height > (ptr->height + duration) )
{ {
HASH_DELETE(hh,KOMODO_KV,ptr); HASH_DELETE(hh,KOMODO_KV,ptr);