From ea519ec5cefba1079e3f67a2b9b58c8f0ca35948 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 15 Apr 2013 11:50:51 +0200 Subject: smbd: Convert driver_unlink_internals to synthetic_smb_fname Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/printing/nt_printing.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/printing') 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; } -- cgit