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/rpcclient | |
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/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 2a9f2b82bb..378ec891a7 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -691,7 +691,7 @@ static void display_reg_value(REGISTRY_VALUE value) printf("%s: REG_SZ: %s\n", value.valuename, text ? text : ""); break; case REG_BINARY: { - char *hex = hex_encode(NULL, value.data_p, value.size); + char *hex = hex_encode_talloc(NULL, value.data_p, value.size); size_t i, len; printf("%s: REG_BINARY:", value.valuename); len = strlen(hex); |