author | Florian Forster <octo@collectd.org> | |
Thu, 6 Sep 2012 14:12:53 +0000 (16:12 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 6 Sep 2012 14:12:53 +0000 (16:12 +0200) | ||
commit | 619eaff863528b2f97dc79371dddf46a69c7115d | |
tree | b71539c2643d49a601935527fa542face3deb6a9 | tree | snapshot |
parent | 1e648d412b43d95f5fa85ac08f094067d7984afd | commit | diff |
src/common.c: get_kstat_value: Check the arguments and return error codes.
Rather than asserting that an argument is not NULL, check this condition
and return an error code.
This should fix Github issue #71.
Rather than asserting that an argument is not NULL, check this condition
and return an error code.
This should fix Github issue #71.
src/common.c | diff | blob | history |