summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-14 08:09:21 +0100
committerVolker Lendecke <vl@samba.org>2011-03-15 09:15:35 +0100
commita4d7b3a1dfddc95c1825588cddaee5b4039fa5e2 (patch)
treebd23e7d40d791cf3755394f0977ea01a06f0ade9 /source3
parent7c83f69383b1bd3e0c6be95b1b53cdc2d5957623 (diff)
downloadsamba-a4d7b3a1dfddc95c1825588cddaee5b4039fa5e2.tar.gz
samba-a4d7b3a1dfddc95c1825588cddaee5b4039fa5e2.tar.bz2
samba-a4d7b3a1dfddc95c1825588cddaee5b4039fa5e2.zip
s3: "hex_encode" does the same as "binary_string"
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index f6210c13fd..ef46a38f8a 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -121,7 +121,7 @@ char *sid_binstring_hex(const struct dom_sid *sid)
if (!buf)
return NULL;
sid_linearize(buf, len, sid);
- s = binary_string(buf, len);
+ hex_encode(buf, len, &s);
free(buf);
return s;
}