summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap_file.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-18 16:16:57 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-18 16:16:57 +0200
commitf3f9446ec122d633c50a0c3dba9a9bea9f79c2b0 (patch)
tree66a71d3a4809da84d496a54eceee24ff1beb887e /source3/lib/dbwrap_file.c
parent63de2d9823f6211668b4b05cb23764ba69a7dc9a (diff)
downloadsamba-f3f9446ec122d633c50a0c3dba9a9bea9f79c2b0.tar.gz
samba-f3f9446ec122d633c50a0c3dba9a9bea9f79c2b0.tar.bz2
samba-f3f9446ec122d633c50a0c3dba9a9bea9f79c2b0.zip
Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.
Diffstat (limited to 'source3/lib/dbwrap_file.c')
-rw-r--r--source3/lib/dbwrap_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap_file.c b/source3/lib/dbwrap_file.c
index e3779de1e4..69ad8e4b20 100644
--- a/source3/lib/dbwrap_file.c
+++ b/source3/lib/dbwrap_file.c
@@ -105,7 +105,7 @@ static struct db_record *db_file_fetch_locked(struct db_context *db,
/* Cut to 8 bits */
file->hash = fsh(key.dptr, key.dsize);
- file->name = hex_encode(file, (unsigned char *)key.dptr, key.dsize);
+ file->name = hex_encode_talloc(file, (unsigned char *)key.dptr, key.dsize);
if (file->name == NULL) {
DEBUG(0, ("hex_encode failed\n"));
TALLOC_FREE(result);