commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1453680 - /commons/proper/daemon/branches/1.0.x/src/native/windows/apps/prunsrv/prunsrv.c
Date Thu, 07 Mar 2013 05:36:39 GMT
Author: mturk
Date: Thu Mar  7 05:36:39 2013
New Revision: 1453680

URL: http://svn.apache.org/r1453680
Log:
Apply DAEMON-288 patch

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=1453680&r1=1453679&r2=1453680&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 Thu Mar
 7 05:36:39 2013
@@ -585,7 +585,7 @@ static BOOL docmdInstallService(LPAPXCMD
     apxStrQuoteInplaceW(szImage);
     /* Add run-service command line option */
     lstrlcatW(szImage, SIZ_HUGLEN, L" ");
-    lstrlcatW(szName, SIZ_BUFLEN, L"//RS//");
+    lstrlcpyW(szName, SIZ_BUFLEN, L"//RS//");
     lstrlcatW(szName, SIZ_HUGLEN, lpCmdline->szApplication);
     apxStrQuoteInplaceW(szName);
     lstrlcatW(szImage, SIZ_HUGLEN, szName);



Mime
View raw message