summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-24 19:05:32 +0000
committerJeremy Allison <jra@samba.org>2003-01-24 19:05:32 +0000
commitdd072d240b9bca25e6e7394353cacf778847f86e (patch)
treeeea1b2643a7ccc7c4fa92e5e8f9cbef0429ee586 /source3/smbd
parent48f6ede4b4170522cf6f8b19921f10c3f89150c8 (diff)
downloadsamba-dd072d240b9bca25e6e7394353cacf778847f86e.tar.gz
samba-dd072d240b9bca25e6e7394353cacf778847f86e.tar.bz2
samba-dd072d240b9bca25e6e7394353cacf778847f86e.zip
Fixed typo found by tpot.
Jeremy. (This used to be commit 7e2bc1fe58f5da437e55867d1205ca6ceade4c74)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index ff84dc8e1a..8018d5f6f6 100644
--- a/source3/smbd/process.c
+++ b/source3/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;