From: Florian Forster Date: Sat, 23 Jun 2012 18:49:32 +0000 (+0200) Subject: src/utils_vl_lookup.c: Fix a wrong pointer being passed to the callback. X-Git-Tag: collectd-5.2.0~24^2~10 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4f649979970d469fc8f60f8a728f7f5045be9a4d;p=collectd.git src/utils_vl_lookup.c: Fix a wrong pointer being passed to the callback. --- diff --git a/src/utils_vl_lookup.c b/src/utils_vl_lookup.c index 5a6671f2..0f86bff2 100644 --- a/src/utils_vl_lookup.c +++ b/src/utils_vl_lookup.c @@ -203,7 +203,8 @@ static int lu_handle_user_class (lookup_t *obj, /* {{{ */ return (-1); } - status = obj->cb_user_obj (ds, vl, user_class, user_obj); + status = obj->cb_user_obj (ds, vl, + user_class->user_class, user_obj->user_obj); if (status != 0) { ERROR ("utils_vl_lookup: The user object callback failed with status %i.",