git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303710c
)
Merge of increment_smbd_process_count() fix from appliance.
author
Tim Potter
<tpot@samba.org>
Fri, 24 Jan 2003 04:04:49 +0000
(
04:04
+0000)
committer
Tim Potter
<tpot@samba.org>
Fri, 24 Jan 2003 04:04:49 +0000
(
04:04
+0000)
source/smbd/process.c
patch
|
blob
|
history
diff --git
a/source/smbd/process.c
b/source/smbd/process.c
index 2b92b9910fc4789cbcd4dcb68a3369c673f646e6..98ec6ce184171819086e411e756663b5242ae4f4 100644
(file)
--- a/
source/smbd/process.c
+++ b/
source/smbd/process.c
@@
-807,7
+807,7
@@
static int32 increment_smbd_process_count(void)
if (lp_max_smbd_processes()) {
total_smbds = 0;
- if (tdb_change_int32_atomic(conn_tdb_ctx(), "INFO/total_smbds", &total_smbds,
-
1) == -1)
+ if (tdb_change_int32_atomic(conn_tdb_ctx(), "INFO/total_smbds", &total_smbds, 1) == -1)
return 1;
process_count_update_successful = True;
return total_smbds + 1;