This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
The following commit(s) were added to refs/heads/master by this push:
new 40d38a2 Normalize formatting in apxLogWrite()
40d38a2 is described below
commit 40d38a2f805e0f73fd5e128943e4f097e2294dee
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Dec 7 13:10:41 2025 -0500
Normalize formatting in apxLogWrite()
---
src/native/windows/src/log.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/native/windows/src/log.c b/src/native/windows/src/log.c
index 4b475e3..0edb438 100644
--- a/src/native/windows/src/log.c
+++ b/src/native/windows/src/log.c
@@ -356,9 +356,9 @@ apxLogWrite(
APX_LOGENTER();
if (file && (lf->dwLogLevel <= APXLOG_LEVEL_DEBUG || dwLevel ==
APXLOG_LEVEL_ERROR)) {
file = (szFile + lstrlenA(szFile) - 1);
- while(file != szFile && '\\' != *file && '/' != *file)
+ while (file != szFile && '\\' != *file && '/' != *file)
file--;
- if(file != szFile)
+ if (file != szFile)
file++;
}
else