From 3e10c3a8a4804564806428401fd9835db5244fc7 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 17 Feb 2021 16:42:48 -0500 Subject: [PATCH] Fix return codes --- src/zm_libvnc_camera.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zm_libvnc_camera.cpp b/src/zm_libvnc_camera.cpp index 05a88aa6d..a8da6908b 100644 --- a/src/zm_libvnc_camera.cpp +++ b/src/zm_libvnc_camera.cpp @@ -166,7 +166,7 @@ int VncCamera::PrimeCapture() { width, height, mRfb->width, mRfb->height); } - return 0; + return 1; } int VncCamera::PreCapture() { @@ -201,10 +201,10 @@ int VncCamera::Capture(ZMPacket &zm_packet) { } int VncCamera::PostCapture() { - return 0; + return 1; } int VncCamera::Close() { - return 0; + return 1; } #endif