List.add method returns boolean

This commit is contained in:
Doug MacEachern 2004-07-08 02:58:30 +00:00
parent 368de3b882
commit 49782b4d05
1 changed files with 2 additions and 2 deletions

View File

@ -551,8 +551,8 @@ static int jni_proc_module_get(void *data,
jni_proc_module_t *module = (jni_proc_module_t *)data;
JNIEnv *env = module->env;
JENV->CallObjectMethod(env, module->listobj, module->id,
JENV->NewStringUTF(env, name));
JENV->CallBooleanMethod(env, module->listobj, module->id,
JENV->NewStringUTF(env, name));
return SIGAR_OK;
}