| commit | 3060d4aa1d5586c085aaec108ac6ced094304322 | [log] [tgz] |
|---|---|---|
| author | Andrew Tridgell <tridge@samba.org> | Sun Jan 23 02:16:51 2000 +0000 |
| committer | Andrew Tridgell <tridge@samba.org> | Sun Jan 23 02:16:51 2000 +0000 |
| tree | ad9dc1197087fcd5a74e9098f42f9f5706eb971d | |
| parent | 1347d5126a4d89718544d976f64943dfa93dd8c4 [diff] [blame] |
handle systems that don't take a 2nd argument to gettimeofday()
diff --git a/authenticate.c b/authenticate.c index 50c10aa..f87fcee 100644 --- a/authenticate.c +++ b/authenticate.c
@@ -56,7 +56,7 @@ memset(input, 0, sizeof(input)); strlcpy((char *)input, addr, 17); - gettimeofday(&tv, NULL); + sys_gettimeofday(&tv); SIVAL(input, 16, tv.tv_sec); SIVAL(input, 20, tv.tv_usec); SIVAL(input, 24, getpid());