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_ctdb.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_ctdb.c')
-rw-r--r-- | source3/lib/dbwrap_ctdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c index 2818634b14..38daa61b33 100644 --- a/source3/lib/dbwrap_ctdb.c +++ b/source3/lib/dbwrap_ctdb.c @@ -821,7 +821,7 @@ static int db_ctdb_record_destr(struct db_record* data) ? "Unlocking db %u key %s\n" : "Unlocking db %u key %.20s\n", (int)crec->ctdb_ctx->db_id, - hex_encode(data, (unsigned char *)data->key.dptr, + hex_encode_talloc(data, (unsigned char *)data->key.dptr, data->key.dsize))); if (tdb_chainunlock(crec->ctdb_ctx->wtdb->tdb, data->key) != 0) { @@ -871,7 +871,7 @@ static struct db_record *fetch_locked_internal(struct db_ctdb_ctx *ctx, again: if (DEBUGLEVEL >= 10) { - char *keystr = hex_encode(result, key.dptr, key.dsize); + char *keystr = hex_encode_talloc(result, key.dptr, key.dsize); DEBUG(10, (DEBUGLEVEL > 10 ? "Locking db %u key %s\n" : "Locking db %u key %.20s\n", |