[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-85-g04d660b
Volker Lendecke
vl at sernet.de
Sun Oct 21 06:45:40 GMT 2007
The branch, v3-2-test has been updated
via 04d660bbb371f859cc50a9f3ea7d358f74acfa8b (commit)
from 97f47e39139cef738a5f02980a0792417e0d365e (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 04d660bbb371f859cc50a9f3ea7d358f74acfa8b
Author: Volker Lendecke <vl at sernet.de>
Date: Sat Oct 20 16:24:46 2007 +0200
Fix two type-punned warnings
-----------------------------------------------------------------------
Summary of changes:
source/param/loadparm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 80462ee..dcec6bc 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -227,7 +227,7 @@ typedef struct {
bool bDisableSpoolss;
int syslog;
int os_level;
- int enhanced_browsing;
+ bool enhanced_browsing;
int max_ttl;
int max_wins_ttl;
int min_wins_ttl;
@@ -1589,7 +1589,7 @@ static void init_globals(bool first_time_only)
Globals.map_to_guest = 0; /* By Default, "Never" */
Globals.oplock_break_wait_time = 0; /* By Default, 0 msecs. */
- Globals.enhanced_browsing = True;
+ Globals.enhanced_browsing = true;
Globals.iLockSpinTime = WINDOWS_MINIMUM_LOCK_TIMEOUT_MS; /* msec. */
#ifdef MMAP_BLACKLIST
Globals.bUseMmap = False;
@@ -2018,7 +2018,7 @@ FN_GLOBAL_BOOL(lp_paranoid_server_security, &Globals.paranoid_server_security)
FN_GLOBAL_INTEGER(lp_maxdisksize, &Globals.maxdisksize)
FN_GLOBAL_INTEGER(lp_lpqcachetime, &Globals.lpqcachetime)
FN_GLOBAL_INTEGER(lp_max_smbd_processes, &Globals.iMaxSmbdProcesses)
-FN_GLOBAL_INTEGER(_lp_disable_spoolss, &Globals.bDisableSpoolss)
+FN_GLOBAL_BOOL(_lp_disable_spoolss, &Globals.bDisableSpoolss)
FN_GLOBAL_INTEGER(lp_syslog, &Globals.syslog)
static FN_GLOBAL_INTEGER(lp_announce_as, &Globals.announce_as)
FN_GLOBAL_INTEGER(lp_lm_announce, &Globals.lm_announce)
--
Samba Shared Repository
More information about the samba-cvs
mailing list