celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject svn commit: r1658980 - /celix/trunk/deployment_admin/private/src/deployment_admin.c
Date Wed, 11 Feb 2015 15:08:14 GMT
Author: bpetri
Date: Wed Feb 11 15:08:14 2015
New Revision: 1658980

URL: http://svn.apache.org/r1658980
Log:

CELIX-221: wrongly calulated string fixed


Modified:
    celix/trunk/deployment_admin/private/src/deployment_admin.c

Modified: celix/trunk/deployment_admin/private/src/deployment_admin.c
URL: http://svn.apache.org/viewvc/celix/trunk/deployment_admin/private/src/deployment_admin.c?rev=1658980&r1=1658979&r2=1658980&view=diff
==============================================================================
--- celix/trunk/deployment_admin/private/src/deployment_admin.c (original)
+++ celix/trunk/deployment_admin/private/src/deployment_admin.c Wed Feb 11 15:08:14 2015
@@ -249,7 +249,7 @@ static void *deploymentAdmin_poll(void *
 
 					// TODO: update to use bundle cache DataFile instead of module entries.
 					unzip_extractDeploymentPackage(inputFilename, tmpDir);
-					int length = strlen(tmpDir + 22);
+					int length = strlen(tmpDir) + 22;
 					char manifest[length];
 					snprintf(manifest, length, "%s/META-INF/MANIFEST.MF", tmpDir);
 					manifest_pt mf = NULL;



Mime
View raw message