processes plugin: Improve the error handling.
authorFlorian Forster <octo@huhu.verplant.org>
Fri, 2 Oct 2009 07:06:41 +0000 (09:06 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 2 Oct 2009 07:06:41 +0000 (09:06 +0200)
commit07b05ddf5c0ec9242ac8abea3dd7bb55fa25ffd4
treea47fe6bf81bddfd3155430b12ff684f86b014027
parent0d8ba9a85008de5280f9c64bbdcbf5f9ac9b922d
processes plugin: Improve the error handling.

The fork-rate function now returns ULONG_MAX upon error. The error detection
when using strtoul has been improved (overflow is not the only possible error).
src/processes.c