diff --git a/commonLibs/livoxProto1/device.cpp b/commonLibs/livoxProto1/device.cpp index bbcca0e..cb49666 100644 --- a/commonLibs/livoxProto1/device.cpp +++ b/commonLibs/livoxProto1/device.cpp @@ -235,10 +235,10 @@ public: context->device.heartbeatFd = fd; context->device.startHeartbeat(); context->originalCbFn(true); - return; - } + return; + } - // All connection attempts failed + // All connection attempts failed context->originalCbFn(false); } };