diff options
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r-- | source3/lib/substitute.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index f8ca6f41cc1..8fd4fbf9519 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -863,22 +863,6 @@ char *talloc_sub_advanced(TALLOC_CTX *ctx, return ret_string; } -void standard_sub_advanced(const char *servicename, const char *user, - const char *connectpath, gid_t gid, - const char *smb_name, const char *domain_name, - char *str, size_t len) -{ - char *s = talloc_sub_advanced(talloc_tos(), - servicename, user, connectpath, - gid, smb_name, domain_name, str); - - if (!s) { - return; - } - strlcpy( str, s, len ); - TALLOC_FREE( s ); -} - /****************************************************************************** version of standard_sub_basic() for string lists; uses talloc_sub_basic() for the work |