gencache: add some const.
authorGünther Deschner <gd@samba.org>
Wed, 7 May 2008 19:01:46 +0000 (21:01 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 7 May 2008 23:10:54 +0000 (01:10 +0200)
Guenther
(This used to be commit ec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0)

source3/lib/gencache.c

index 6131269adbd01e92105ce4c24b8cd226acf6e6d1..b773f83c58125302b0153456664226f62119543b 100644 (file)
@@ -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;