From: Florian Forster Date: Sun, 29 Mar 2009 12:36:26 +0000 (+0200) Subject: java plugin: Fix a typo in the oconfig_item conversion function. X-Git-Tag: collectd-4.7.0~71 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=50ce9cb167a467ae1dff145702eb4a95fb506008;p=collectd.git java plugin: Fix a typo in the oconfig_item conversion function. --- diff --git a/src/java.c b/src/java.c index d0eeeff5..903b4a5b 100644 --- a/src/java.c +++ b/src/java.c @@ -580,7 +580,7 @@ static jobject ctoj_oconfig_item (JNIEnv *jvm_env, /* {{{ */ return (NULL); } - (*jvm_env)->CallVoidMethod (jvm_env, o_ocitem, m_addvalue, o_child); + (*jvm_env)->CallVoidMethod (jvm_env, o_ocitem, m_addchild, o_child); (*jvm_env)->DeleteLocalRef (jvm_env, o_child); } /* }}} for (i = 0; i < ci->children_num; i++) */