mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 04:09:28 -05:00
Do not shadow tm on line 236. (#1243)
This commit is contained in:
parent
c5c5486261
commit
c371be3f9f
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ log_vmsg(int pri, const char* type,
|
|||
if(log_time_iso && log_time_asc) {
|
||||
char tzbuf[16];
|
||||
struct timeval tv;
|
||||
struct tm tm, *tm_p;
|
||||
struct tm *tm_p;
|
||||
if(gettimeofday(&tv, NULL) < 0)
|
||||
memset(&tv, 0, sizeof(tv));
|
||||
now = (time_t)tv.tv_sec;
|
||||
|
|
|
|||
Loading…
Reference in a new issue