summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-15 11:50:51 +0200
committerJeremy Allison <jra@samba.org>2013-04-17 14:50:03 -0700
commitea519ec5cefba1079e3f67a2b9b58c8f0ca35948 (patch)
treef94f59bddf07e3b92c8ab003b45edfdf10e4c559 /source3
parent2b97eb13ff7d97ddd7a4400a8073ea7b00119103 (diff)
downloadsamba-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')
-rw-r--r--source3/printing/nt_printing.c5
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;
}