s3:lib: Fix the debug message for adding cache entries.
authorAndreas Schneider <asn@samba.org>
Thu, 17 Jan 2019 12:58:14 +0000 (13:58 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Mar 2019 12:50:24 +0000 (12:50 +0000)
commitc8e8d97959dd5f3ae9ac7556ee0282baec861326
treedb74234fd316fda8b5a1c6ec77197dee7919a87c
parentf6df8d976866cad14da492d6f581c9fdeb0c82b3
s3:lib: Fix the debug message for adding cache entries.

To get correct values, we need to cast 'timeout' to 'long int' first in
order to do calculation in that integer space! Calculations are don in
the space of the lvalue!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13848

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 5822449a7340f53987ce4c04851652427f5b49e8)

Autobuild-User(v4-10-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-10-test): Fri Mar 22 12:50:24 UTC 2019 on sn-devel-144
source3/lib/gencache.c