This is an automated email from the ASF dual-hosted git repository.

martinzink pushed a commit to branch apache-rusty-2
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 1c76f80cbb2bb4b0bbcc79904fb480a93e307c10
Author: Martin Zink <[email protected]>
AuthorDate: Wed Mar 25 18:03:02 2026 +0100

    fix windows build
---
 extensions/sftp/tests/tools/SFTPTestServer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/sftp/tests/tools/SFTPTestServer.cpp 
b/extensions/sftp/tests/tools/SFTPTestServer.cpp
index e74249b8e..f0c4d496f 100644
--- a/extensions/sftp/tests/tools/SFTPTestServer.cpp
+++ b/extensions/sftp/tests/tools/SFTPTestServer.cpp
@@ -138,10 +138,10 @@ bool SFTPTestServer::stop() {
     logger_->log_debug("Deleting port file {}", port_file_path_);
     ::unlink(port_file_path_.c_str());
   }
-#endif
   server_pid_ = -1;
   started_ = false;
   port_file_path_ = "";
+#endif
   return true;
 }
 

Reply via email to