You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2012/02/01 15:36:40 UTC
svn commit: r1239148 -
/commons/proper/daemon/branches/1.0.x/src/native/windows/apps/prunsrv/prunsrv.c
Author: mturk
Date: Wed Feb 1 14:36:39 2012
New Revision: 1239148
URL: http://svn.apache.org/viewvc?rev=1239148&view=rev
Log:
DAEMON-237: Make service update work again
Modified:
commons/proper/daemon/branches/1.0.x/src/native/windows/apps/prunsrv/prunsrv.c
Modified: commons/proper/daemon/branches/1.0.x/src/native/windows/apps/prunsrv/prunsrv.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/branches/1.0.x/src/native/windows/apps/prunsrv/prunsrv.c?rev=1239148&r1=1239147&r2=1239148&view=diff
==============================================================================
--- commons/proper/daemon/branches/1.0.x/src/native/windows/apps/prunsrv/prunsrv.c (original)
+++ commons/proper/daemon/branches/1.0.x/src/native/windows/apps/prunsrv/prunsrv.c Wed Feb 1 14:36:39 2012
@@ -1630,9 +1630,9 @@ void __cdecl main(int argc, char **argv)
goto cleanup;
}
apxCmdlineLoadEnvVars(lpCmdline);
- if (lpCmdline->dwCmdIndex < 5) {
+ if (lpCmdline->dwCmdIndex < 6) {
if (!loadConfiguration(lpCmdline) &&
- lpCmdline->dwCmdIndex < 4) {
+ lpCmdline->dwCmdIndex < 5) {
apxLogWrite(APXLOG_MARK_ERROR "Load configuration failed");
rv = 2;
goto cleanup;