projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e04e0
)
java plugin: Have "DispatchValues" return a meaningful status.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 18 Feb 2009 22:38:23 +0000
(23:38 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 18 Feb 2009 22:38:23 +0000
(23:38 +0100)
I. e. the status of "plugin_dispatch_values". That's as meaningful as
we're going to get.
src/java.c
patch
|
blob
|
history
diff --git
a/src/java.c
b/src/java.c
index
648555a
..
2d4974f
100644
(file)
--- 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[] =