From 4f3f22b6479edc410c686c74beffd81376c6c702 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 2 Jul 2016 08:43:45 -0300 Subject: [PATCH] test --- basilisk/basilisk_DEX.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/basilisk/basilisk_DEX.c b/basilisk/basilisk_DEX.c index 42eac434f..ee3f93753 100755 --- a/basilisk/basilisk_DEX.c +++ b/basilisk/basilisk_DEX.c @@ -21,8 +21,12 @@ uint32_t basilisk_requestid(struct basilisk_request *rp) { struct basilisk_request R; R = *rp; - R.requestid = R.quoteid = R.relaybits = R.pad = 0; - memset(&R.volatile_start,0,(long)&R.volatile_start - (long)&R); + R.requestid = R.quoteid = R.pad = 0; + R.volatile_start = 0; + memset(R.message,0,sizeof(R.message)); + R.destamount = 0; + R.relaybits = 0; + memset(R.desthash.bytes,0,sizeof(R.desthash.bytes)); if ( 0 ) { int32_t i;