diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-18 16:16:57 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-18 16:16:57 +0200 |
commit | f3f9446ec122d633c50a0c3dba9a9bea9f79c2b0 (patch) | |
tree | 66a71d3a4809da84d496a54eceee24ff1beb887e /source3/lib/dbwrap_file.c | |
parent | 63de2d9823f6211668b4b05cb23764ba69a7dc9a (diff) | |
download | samba-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.c | 2 |
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); |