diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-15 21:53:26 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-15 22:09:36 +0100 |
commit | 7b01537679d4d4f1408634fe63c64c144f9d9519 (patch) | |
tree | 0a2191050b3ca77f10c837ec318b8db31f131850 /source3/utils/net_usershare.c | |
parent | 54ae9dfcbce727ae3107f21eee68762502acda60 (diff) | |
download | samba-7b01537679d4d4f1408634fe63c64c144f9d9519.tar.gz samba-7b01537679d4d4f1408634fe63c64c144f9d9519.tar.xz samba-7b01537679d4d4f1408634fe63c64c144f9d9519.zip |
Replace sid_string_static with sid_string_tos
In utils/ I was a bit lazy...
(This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
Diffstat (limited to 'source3/utils/net_usershare.c')
-rw-r--r-- | source3/utils/net_usershare.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index f95b1bdc6e..3af5fd44b8 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -824,7 +824,8 @@ static int net_usershare_add(int argc, const char **argv) return -1; } } - us_acl = talloc_asprintf_append(us_acl, "%s:%c,", sid_string_static(&sid), pcolon[1]); + us_acl = talloc_asprintf_append( + us_acl, "%s:%c,", sid_string_tos(&sid), pcolon[1]); /* Move to the next ACL entry. */ if (pcolon[2] == ',') { |