ageric/nagios — pull request #6 by ricardomaraschini (2013-06-03 19:16:43+00:00)
Title: base/workers.c: fixed return code on wproc_run_job()

in case of errors, write(2) may return 0, that may
be interpreted as OK on caller. also, we only increase
jobs_running and jobs_started on worker process if
write succeded.

loadct.jobs_running also is incremented only if
we sucessfuly submitted the job.