diff options
-rw-r--r-- | source3/libsmb/conncache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/conncache.c b/source3/libsmb/conncache.c index b8f98085ce..05344f4071 100644 --- a/source3/libsmb/conncache.c +++ b/source3/libsmb/conncache.c @@ -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 |