From: Volker Lendecke Date: Sun, 4 Jan 2026 09:29:26 +0000 (+0100) Subject: printing: Fix file_version_is_newer() X-Git-Tag: tdb-1.4.15~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f5c0581fde4aad9ce62bff0629f394eab81f1a;p=thirdparty%2Fsamba.git printing: Fix file_version_is_newer() fstring as a function parameter does not really make sense... 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 34d55233609..8a37f456202 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -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;