]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
printing: Fix file_version_is_newer()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Jan 2026 09:29:26 +0000 (10:29 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 20 Jan 2026 11:53:34 +0000 (11:53 +0000)
fstring as a function parameter does not really make sense...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/printing/nt_printing.c

index 34d552336094f5549b53f7fea24273a7a051b6f3..8a37f4562024a731aa0874bb2f03be3d8ae29b3b 100644 (file)
@@ -796,7 +796,9 @@ missing the version info structure, compare the creation date (on Unix use
 the modification date). Otherwise chose the numerically larger version number.
 ****************************************************************************/
 
-static int file_version_is_newer(connection_struct *conn, fstring new_file, fstring old_file)
+static int file_version_is_newer(connection_struct *conn,
+                                const char *new_file,
+                                const char *old_file)
 {
        bool use_version = true;