Fix math in time_posix.c

pull/154/head
Craig Tiller 10 years ago
parent 018afed1b3
commit a83567d729
  1. 2
      src/core/support/time_posix.c

@ -61,7 +61,7 @@ gpr_timespec gpr_now(void) {
struct timeval now_tv;
gettimeofday(&now_tv, NULL);
now.tv_sec = now_tv.tv_sec;
now.tv_nsec = now_tv.tv_usec / 1000;
now.tv_nsec = now_tv.tv_usec * 1000;
return now;
}
#endif

Loading…
Cancel
Save