diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-05-30 15:02:09 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-05-30 15:02:09 +0300 |
commit | 82415397346b7d8953b094f6dce867c1afdde420 (patch) | |
tree | a88ac77b2f93dab410a0c62875fea79aaf21099c /src | |
parent | 6a2928b4bf3c57685b707c17eb0c147d68be1dd6 (diff) | |
download | unit-82415397346b7d8953b094f6dce867c1afdde420.tar.gz unit-82415397346b7d8953b094f6dce867c1afdde420.tar.bz2 |
Java: fixing typo in context initialization.
Diffstat (limited to '')
-rw-r--r-- | src/java/nxt_jni_Context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/nxt_jni_Context.c b/src/java/nxt_jni_Context.c index 8f7adddf..589e1c5b 100644 --- a/src/java/nxt_jni_Context.c +++ b/src/java/nxt_jni_Context.c @@ -55,7 +55,7 @@ nxt_java_initContext(JNIEnv *env, jobject cl) } nxt_java_Context_stop = (*env)->GetMethodID(env, cls, "stop", "()V"); - if (nxt_java_Context_service == NULL) { + if (nxt_java_Context_stop == NULL) { nxt_unit_warn(NULL, "nginx.unit.Context.stop() not found"); goto failed; } |