From 30c2d6652c012c90ab15cccadcb8934d7acbeac7 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 18 Feb 2009 23:38:23 +0100 Subject: [PATCH] java plugin: Have "DispatchValues" return a meaningful status. I. e. the status of "plugin_dispatch_values". That's as meaningful as we're going to get. --- src/java.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java.c b/src/java.c index 648555ae..2d4974f2 100644 --- a/src/java.c +++ b/src/java.c @@ -1117,11 +1117,11 @@ static jint JNICALL cjni_api_dispatch_values (JNIEnv *jvm_env, /* {{{ */ return (-1); } - plugin_dispatch_values (&vl); + status = plugin_dispatch_values (&vl); sfree (vl.values); - return (0); + return (status); } /* }}} jint cjni_api_dispatch_values */ static JNINativeMethod jni_api_functions[] = -- 2.11.0