server session BUGFIX return value typo
diff --git a/src/session_server.c b/src/session_server.c
index 9de4052..ee1e5bb 100644
--- a/src/session_server.c
+++ b/src/session_server.c
@@ -2700,7 +2700,7 @@
     /* UNLOCK */
     nc_server_ch_client_unlock(client);
 
-    return -1;
+    return 0;
 }
 
 API int
@@ -2737,7 +2737,7 @@
     /* UNLOCK */
     nc_server_ch_client_unlock(client);
 
-    return -1;
+    return 0;
 }
 
 API int