1
0
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:
Volker Lendecke 2008-06-05 09:36:34 +02:00
parent 097446c3c8
commit 2a689aa66a

View File

@ -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