Skip to content

Commit

Permalink
Lint for the Lint Gods!
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Mar 6, 2024
1 parent b778f28 commit b453ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platforms/windows/daemon/windowstunnelservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ WindowsTunnelService::WindowsTunnelService(QObject* parent) : QObject(parent) {
}

// Is the service already running? Terminate it.
SC_HANDLE service = OpenService((SC_HANDLE)m_scm, TUNNEL_SERVICE_NAME,
SERVICE_ALL_ACCESS);
SC_HANDLE service =
OpenService((SC_HANDLE)m_scm, TUNNEL_SERVICE_NAME, SERVICE_ALL_ACCESS);
if (service != nullptr) {
logger.info() << "Tunnel already exists. Terminating it.";
stopAndDeleteTunnelService(service);
Expand Down

0 comments on commit b453ded

Please sign in to comment.