diff options
author | default <nobody@localhost> | 2022-10-15 23:43:09 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-15 23:43:09 +0200 |
commit | f61e5ed1408d621ba9e581eb5ad85eaa1d65814f (patch) | |
tree | f3012b7a274f3276580d2efaa512cd8eb35c8812 /snac.c | |
parent | 903537daee17c10e7cc440afdc38f246f707098f (diff) |
Don't set tz in gettimeofday() because nobody implements it any longer.
Diffstat (limited to 'snac.c')
-rw-r--r-- | snac.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -34,9 +34,8 @@ d_char *tid(int offset) /* returns a time-based Id */ { struct timeval tv; - struct timezone tz; - gettimeofday(&tv, &tz); + gettimeofday(&tv, NULL); return xs_fmt("%10d.%06d", tv.tv_sec + offset, tv.tv_usec); } |