From c62cdd14b8cb8704512b8ef30923b1a1431e6f38 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 10 Oct 2016 10:44:52 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index b8d3fcade..c0d64102b 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -597,7 +597,7 @@ int32_t dpow_message_most(struct dpow_sigentry *dsigs,int32_t num,cJSON *json,in if ( duplicate == 0 && num < 4096 ) { dsigs[num++] = dsig; - printf("add dsig[%d] sender.%d lastk.%d mask.%llx\n",num,dsig.senderind,dsig.lastk,(long long)dsig.mask); + printf("add dsig[%d] sender.%d lastk.%d mask.%llx refcount.%d\n",num,dsig.senderind,dsig.lastk,(long long)dsig.mask,dsig.refcount); } } else printf("datalen.%d >= maxlen.%d\n",datalen,(int32_t)sizeof(data)); } @@ -613,7 +613,7 @@ int32_t dpow_message_most(struct dpow_sigentry *dsigs,int32_t num,cJSON *json,in most = n; dsigs[num] = dsigs[j]; } - printf("lastflag.%d num.%d most.%d n.%d\n",lastflag,num,most,n); + printf("lastflag.%d num.%d most.%d n.%d refcount.%d\n",lastflag,num,most,n,dsigs[j].refcount); } } return(num);