From dd072d240b9bca25e6e7394353cacf778847f86e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 24 Jan 2003 19:05:32 +0000 Subject: Fixed typo found by tpot. Jeremy. (This used to be commit 7e2bc1fe58f5da437e55867d1205ca6ceade4c74) --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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; -- cgit