From 82415397346b7d8953b094f6dce867c1afdde420 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Thu, 30 May 2019 15:02:09 +0300 Subject: [PATCH] Java: fixing typo in context initialization. --- src/java/nxt_jni_Context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }