summaryrefslogtreecommitdiff
path: root/source3/lib/gencache.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-07 21:01:46 +0200
committerGünther Deschner <gd@samba.org>2008-05-08 01:10:54 +0200
commit077f24e51e26ea2e6ebafc257d9387f301ad9e44 (patch)
treeaa8dff6e08317863cdfa3ec3cbc8e2a2e96584ab /source3/lib/gencache.c
parent82b5c603b70b3e87821884d9b5f7682dc0463584 (diff)
downloadsamba-077f24e51e26ea2e6ebafc257d9387f301ad9e44.tar.gz
samba-077f24e51e26ea2e6ebafc257d9387f301ad9e44.tar.bz2
samba-077f24e51e26ea2e6ebafc257d9387f301ad9e44.zip
gencache: add some const.
Guenther (This used to be commit ec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0)
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r--source3/lib/gencache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index 6131269adb..b773f83c58 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -324,7 +324,7 @@ bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob, bool *expired)
* @retval false on failure
**/
-bool gencache_set_data_blob(const char *keystr, DATA_BLOB *blob, time_t timeout)
+bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob, time_t timeout)
{
bool ret = False;
int tdb_ret;