Browse Source

Fixing crash when calling encrypt on message with outgoing color known as grey.

JNI-44
Edouard Tisserant 9 years ago
parent
commit
0c56a2edc3
  1. 3
      src/gen_cpp_Engine.ysl2

3
src/gen_cpp_Engine.ysl2

@ -189,9 +189,8 @@ tstylesheet {
otherwise {
| jobject «$name»_ = NULL;
indent(0);
if "$retname != 'result'" > if (_«$retname»)
> {\n
||
if (_«$retname») {
jclass clazz_«$name»_ = findClass(env, "org/pEp/jniadapter/«$jtype»");
assert(clazz_«$name»_);
jmethodID constructor_«$name»_ = env->GetMethodID(clazz_«$name»_, "<init>", "«$sig»");

Loading…
Cancel
Save