Browse Source

Merge pull request #397 from kanoi/bflsc

usbutils.c copy full size to 'Last Command'
nfactor-troky
Con Kolivas 12 years ago
parent
commit
f4892a43a2
  1. 2
      usbutils.c

2
usbutils.c

@ -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].max_delay = diff;
details->item[item].total_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++; details->item[item].count++;
} }

Loading…
Cancel
Save