From bb3bf8d3f47edc62e19050ddc5b2754c339a2ee8 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 24 Jan 2003 04:04:49 +0000 Subject: Merge of increment_smbd_process_count() fix from appliance. (This used to be commit c39c54e6b6adcdab7647e36e6c1b0acbdeeaf111) --- 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 2b92b9910f..98ec6ce184 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