From 5cc2baea238b49b99d69099a12c3c02ac4860a52 Mon Sep 17 00:00:00 2001 From: "Gerald (Jerry) Carter" Date: Mon, 10 Dec 2007 08:59:39 -0600 Subject: Additional fixes for SAMBA_VERSION_VENDOR_PATCH in lib/version.c --- source/lib/version.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/lib/version.c b/source/lib/version.c index ee8c3eb1967..93fd1082f7c 100644 --- a/source/lib/version.c +++ b/source/lib/version.c @@ -28,7 +28,7 @@ const char *samba_version_string(void) #else static fstring samba_version; static BOOL init_samba_version; -#ifdef SAMBA_VENDOR_PATCH +#ifdef SAMBA_VERSION_VENDOR_PATCH fstring tmp_version; size_t remaining; #endif @@ -40,9 +40,9 @@ const char *samba_version_string(void) SAMBA_VERSION_OFFICIAL_STRING, SAMBA_VERSION_VENDOR_SUFFIX); -#ifdef SAMBA_VENDOR_PATCH +#ifdef SAMBA_VERSION_VENDOR_PATCH remaining = sizeof(samba_version)-strlen(samba_version); - snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VENDOR_PATCH ); + snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VERSION_VENDOR_PATCH); strlcat( samba_version, tmp_version, remaining-1 ); #endif -- cgit v1.2.1