From 601f43bfa71b479e32a289eaeec75069cbc7c26f Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 7 Jul 2018 21:12:03 +0200 Subject: Handle new enum model value in NK_login_enum Signed-off-by: Szczepan Zalega --- NK_C_API.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/NK_C_API.cc b/NK_C_API.cc index d8b8168..ff612f0 100644 --- a/NK_C_API.cc +++ b/NK_C_API.cc @@ -170,6 +170,7 @@ extern "C" { case NK_STORAGE: model_string = "S"; break; + case NK_DISCONNECTED: default: /* no such enum value -- return error code */ return 0; -- cgit v1.2.3