mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

copilot-swe-agent[bot]
3 days ago c00d4e455d4f712f47f6f2475900baf2ff67edcb
Fix infinite loop in doStopApplication: add missing nTries-- decrement

Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/e46b6ae6-67e4-4df3-a718-14eb1853fc33

Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 files modified
1 ■■■■ changed files
opendj-server-legacy/src/build-tools/windows/service.c 1 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/build-tools/windows/service.c
@@ -677,6 +677,7 @@
      Sleep(3000);
      while ((nTries > 0) && running)
      {
        nTries--;
        if (isServerRunning(&running, TRUE) != SERVICE_RETURN_OK)
        {
          break;