From: Volker Lendecke Date: Sat, 3 Jan 2026 11:32:14 +0000 (+0100) Subject: printing: A little bit of README.Coding in nt_printing.c X-Git-Tag: tdb-1.4.15~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=115b484e44b26ab168a183cabc683987d6aaf057;p=thirdparty%2Fsamba.git printing: A little bit of README.Coding in nt_printing.c Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 56fee826bd4..3f07950e4bb 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1431,7 +1431,8 @@ static WERROR move_driver_file_to_download_area(TALLOC_CTX *mem_ctx, goto done; } - if ((version = file_version_is_newer(conn, old_name, new_name)) > 0) { + version = file_version_is_newer(conn, old_name, new_name); + if (version > 0) { struct files_struct *dirfsp = NULL; status = driver_unix_convert(conn,