diff options
author | Ralph Boehme <slow@samba.org> | 2019-11-07 11:01:05 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-11-27 10:25:37 +0000 |
commit | b5c6964a50be03999432fa5620be39dcb7093ad8 (patch) | |
tree | 3933192064a7df757929b2f12b204e94746e4ef5 /source3/printing/print_generic.c | |
parent | eddc63be868434d3aa5a66b514b692f4d7b8833a (diff) | |
download | samba-b5c6964a50be03999432fa5620be39dcb7093ad8.tar.gz |
s3:param: make "servicename" a substituted option
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/printing/print_generic.c')
-rw-r--r-- | source3/printing/print_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c index 77000bf55ec..0059fad23c5 100644 --- a/source3/printing/print_generic.c +++ b/source3/printing/print_generic.c @@ -82,7 +82,7 @@ static int print_run_command(int snum, const char* printername, bool do_sub, if (do_sub && snum != -1) { syscmd = talloc_sub_advanced(ctx, - lp_servicename(talloc_tos(), snum), + lp_servicename(talloc_tos(), lp_sub, snum), current_user_info.unix_name, "", get_current_gid(NULL), |