[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, upstream, updated. upstream/1.0.6-34-gd3fb2ec
Sven Nierlein
sven at nierlein.de
Wed Aug 24 09:22:00 UTC 2011
The following commit has been merged in the upstream branch:
commit a39fed10405125b8165eaa4c063e93a3ca6d443e
Author: Sven Nierlein <sven at nierlein.de>
Date: Mon Aug 15 16:05:50 2011 +0200
code cleanup
diff --git a/worker/worker.c b/worker/worker.c
index 242f4f2..628f39d 100644
--- a/worker/worker.c
+++ b/worker/worker.c
@@ -28,7 +28,6 @@
int current_number_of_workers = 0;
volatile sig_atomic_t current_number_of_jobs = 0; /* must be signal safe */
-pthread_t status_thr;
int orig_argc;
char ** orig_argv;
@@ -487,7 +486,7 @@ void setup_child_communicator() {
shm[2] = 0; /* running worker */
shm[3] = -1; /* status worker pid */
for(x = 0; x < mod_gm_opt->max_worker; x++) {
- shm[x+4] = -1; /* status worker */
+ shm[x+4] = -1; /* normal worker */
}
return;
--
Debian packaging for mod gearman.
More information about the Pkg-nagios-changes
mailing list