diff options
Diffstat (limited to 'src/util/support/gettimeofday.c')
-rw-r--r-- | src/util/support/gettimeofday.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/support/gettimeofday.c b/src/util/support/gettimeofday.c index e31f38b..8d8fcd8 100644 --- a/src/util/support/gettimeofday.c +++ b/src/util/support/gettimeofday.c @@ -91,12 +91,12 @@ krb5int_gettimeofday (struct timeval *tp, void *ignore) int krb5int_gettimeofday (struct timeval *tp, void *ignore) { - time_t t; + time_t t; - t = time(NULL); - tp->tv_sec = (long) t; - tp->tv_usec = 0; - return 0; + t = time(NULL); + tp->tv_sec = (long) t; + tp->tv_usec = 0; + return 0; } #endif /* !_WIN32 */ |