mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Fix a crash in add_failed_connection_entry
This commit is contained in:
parent
097446c3c8
commit
2a689aa66a
@ -204,7 +204,8 @@ void add_failed_connection_entry(const char *domain, const char *server,
|
||||
}
|
||||
|
||||
if (gencache_set(key, value,
|
||||
time((time_t *) NULL + FAILED_CONNECTION_CACHE_TIMEOUT)))
|
||||
time((time_t *) NULL)
|
||||
+ FAILED_CONNECTION_CACHE_TIMEOUT))
|
||||
DEBUG(9,("add_failed_connection_entry: added domain %s (%s) "
|
||||
"to failed conn cache\n", domain, server ));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user