summaryrefslogtreecommitdiffstats
path: root/source/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
commitec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0 (patch)
tree362fdcabb3dba330158803e5e20c6885effec99d /source/lib/gencache.c
parent4c0805220821719ad1db1590457ab66a577d26a7 (diff)
downloadsamba-ec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0.tar.gz
samba-ec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0.tar.xz
samba-ec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0.zip
gencache: add some const.
Guenther
Diffstat (limited to 'source/lib/gencache.c')
-rw-r--r--source/lib/gencache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/gencache.c b/source/lib/gencache.c
index 6131269adbd..b773f83c581 100644
--- a/source/lib/gencache.c
+++ b/source/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;