summaryrefslogtreecommitdiff
path: root/source/lib/version.c
diff options
context:
space:
mode:
authorvorlon <vorlon@alioth.debian.org>2007-12-12 00:32:19 +0000
committervorlon <vorlon@alioth.debian.org>2007-12-12 00:32:19 +0000
commitdebc1fcad140520c4e700dac03802ad1e59ced02 (patch)
treeb554602de816a27096484bba8a166560e5c575c8 /source/lib/version.c
parent80538c64d7f16a07581650811042b558e67a61f2 (diff)
downloadsamba-debian/3.0.28-1.tar.gz
merge upstream 3.0.28debian/3.0.28-1
git-svn-id: svn://svn.debian.org/svn/pkg-samba/trunk/samba@1673 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'source/lib/version.c')
-rw-r--r--source/lib/version.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/lib/version.c b/source/lib/version.c
index ee8c3eb196..93fd1082f7 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