jni: fix typo

This commit is contained in:
Oleksii Shevchuk 2019-04-26 21:58:47 +03:00
parent d3a4613de7
commit 35e707f4eb
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ static
PyObject *Py_get_preferred_classloader_name(PyObject *self, PyObject *args) {
char *new_classloader_name = NULL;
if (new_classloader_name != NULL && new_classloader_name[0] != '\0') {
if (new_classloader_name != NULL || new_classloader_name[0] != '\0') {
return Py_BuildValue("");
}