diff options
author | Volker Lendecke <vl@samba.org> | 2013-04-15 11:50:51 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-04-17 14:50:03 -0700 |
commit | ea519ec5cefba1079e3f67a2b9b58c8f0ca35948 (patch) | |
tree | f94f59bddf07e3b92c8ab003b45edfdf10e4c559 /source3/printing | |
parent | 2b97eb13ff7d97ddd7a4400a8073ea7b00119103 (diff) | |
download | samba-ea519ec5cefba1079e3f67a2b9b58c8f0ca35948.tar.gz samba-ea519ec5cefba1079e3f67a2b9b58c8f0ca35948.tar.bz2 samba-ea519ec5cefba1079e3f67a2b9b58c8f0ca35948.zip |
smbd: Convert driver_unlink_internals to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 1539b89a0e..7a1f36549f 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1556,9 +1556,8 @@ static NTSTATUS driver_unlink_internals(connection_struct *conn, goto err_out; } - status = create_synthetic_smb_fname(tmp_ctx, print_dlr_path, - NULL, NULL, &smb_fname); - if (!NT_STATUS_IS_OK(status)) { + smb_fname = synthetic_smb_fname(tmp_ctx, print_dlr_path, NULL, NULL); + if (smb_fname == NULL) { goto err_out; } |