[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-1691-gaba8c17
Volker Lendecke
vl at samba.org
Sat Jan 26 20:33:56 GMT 2008
The branch, v3-2-test has been updated
via aba8c17599f0be82cff33229bb107814d88faafe (commit)
from 227f5755c8844dbff8d66adec3d7fd94b583358f (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit aba8c17599f0be82cff33229bb107814d88faafe
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 26 21:29:18 2008 +0100
Fix uninitialized variables
Thanks to Corinna Vinschen
-----------------------------------------------------------------------
Summary of changes:
source/smbd/trans2.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c
index fb84522..1f7af82 100644
--- a/source/smbd/trans2.c
+++ b/source/smbd/trans2.c
@@ -2470,6 +2470,7 @@ static void samba_extended_info_version(struct smb_extended_info *extended_info)
#ifdef SAMBA_VERSION_REVISION
extended_info->samba_version |= (tolower(*SAMBA_VERSION_REVISION) - 'a' + 1) & 0xff;
#endif
+ extended_info->samba_subversion = 0;
#ifdef SAMBA_VERSION_RC_RELEASE
extended_info->samba_subversion |= (SAMBA_VERSION_RC_RELEASE & 0xff) << 24;
#else
@@ -2480,7 +2481,7 @@ static void samba_extended_info_version(struct smb_extended_info *extended_info)
#ifdef SAMBA_VERSION_VENDOR_PATCH
extended_info->samba_subversion |= (SAMBA_VERSION_VENDOR_PATCH & 0xffff);
#endif
- /* FIXME: samba_gitcommitdate should contain the git commit date. */
+ extended_info->samba_gitcommitdate = 0;
#ifdef SAMBA_VERSION_GIT_COMMIT_TIME
unix_to_nt_time(&extended_info->samba_gitcommitdate, SAMBA_VERSION_GIT_COMMIT_TIME);
#endif
--
Samba Shared Repository
More information about the samba-cvs
mailing list