git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e387d
)
param: treat negative values of 'smb2 max credits' as default.
author
Michael Adam
<obnox@samba.org>
Tue, 21 Jul 2015 12:49:16 +0000
(14:49 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 30 Jul 2015 23:55:30 +0000
(
01:55
+0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 98eaec590f5ced70e622ac2bfc75b924babf7d27..7d63d58eeb0d2591a9fb3d311b8e2116ec278670 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-1035,7
+1035,7
@@
int lp_winbind_max_domain_connections(void)
int lp_smb2_max_credits(void)
{
- if (Globals.ismb2_max_credits
=
= 0) {
+ if (Globals.ismb2_max_credits
<
= 0) {
Globals.ismb2_max_credits = DEFAULT_SMB2_MAX_CREDITS;
}
return Globals.ismb2_max_credits;