1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

usbutils.c copy full size to 'Last Command'

This commit is contained in:
Kano 2013-03-06 00:24:02 +11:00
parent 2f6660e83f
commit cb49f3cbb7

View File

@ -1334,7 +1334,7 @@ static void stats(struct cgpu_info *cgpu, struct timeval *tv_start, struct timev
details->item[item].max_delay = diff;
details->item[item].total_delay += diff;
memcpy(&(details->item[item].last), tv_start, sizeof(tv_start));
memcpy(&(details->item[item].last), tv_start, sizeof(*tv_start));
details->item[item].count++;
}