From e6ddb4df89b01e45f09ff9f9b989e4d60adb941d Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 25 Dec 2016 15:21:30 +0200 Subject: [PATCH] test --- basilisk/basilisk_DEX.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/basilisk/basilisk_DEX.c b/basilisk/basilisk_DEX.c index d57f98935..db580a623 100755 --- a/basilisk/basilisk_DEX.c +++ b/basilisk/basilisk_DEX.c @@ -379,7 +379,12 @@ struct basilisk_request *_basilisk_requests_uniq(struct supernet_info *myinfo,in requests = (void *)space; else requests = calloc(m,sizeof(*requests)); if ( refrp != 0 ) + { requests[0] = *refrp; + for (i=0; iNOTARY.NUMRELAYS; j++) { relay = &myinfo->NOTARY.RELAYS[j]; @@ -443,6 +448,7 @@ char *basilisk_respond_accept(struct supernet_info *myinfo,uint32_t requestid,ui { int32_t i,num=0; char *retstr=0; struct basilisk_request *requests,*rp; uint8_t space[4096]; portable_mutex_lock(&myinfo->DEX_reqmutex); + printf("respond accept\n"); if ( (requests= _basilisk_requests_uniq(myinfo,&num,space,sizeof(space),refrp)) != 0 ) { for (i=0; i