celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject [01/19] celix git commit: CELIX-248: fix too many arguments in sprintf
Date Mon, 28 Sep 2015 10:02:46 GMT
Repository: celix
Updated Branches:
  refs/heads/feature/CELIX-247_android_support 9163e76ed -> 70ccd0bb2


CELIX-248: fix too many arguments in sprintf


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/57a15781
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/57a15781
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/57a15781

Branch: refs/heads/feature/CELIX-247_android_support
Commit: 57a1578108c0f644412a018641ea344679f49241
Parents: 654f425
Author: Bjoern Petri <bpetri@apache.org>
Authored: Wed Jul 15 20:17:00 2015 +0200
Committer: Bjoern Petri <bpetri@apache.org>
Committed: Wed Jul 15 20:17:00 2015 +0200

----------------------------------------------------------------------
 deployment_admin/private/src/deployment_admin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/57a15781/deployment_admin/private/src/deployment_admin.c
----------------------------------------------------------------------
diff --git a/deployment_admin/private/src/deployment_admin.c b/deployment_admin/private/src/deployment_admin.c
index 8c81b59..9f29866 100644
--- a/deployment_admin/private/src/deployment_admin.c
+++ b/deployment_admin/private/src/deployment_admin.c
@@ -583,7 +583,7 @@ celix_status_t deploymentAdmin_processDeploymentPackageResources(deployment_admi
 
 					int length = strlen(entry) + strlen(name) + strlen(info->path) + 7;
 					char resourcePath[length];
-					snprintf(resourcePath, length, "%srepo/%s/%s", entry, name, info->path, NULL);
+					snprintf(resourcePath, length, "%srepo/%s/%s", entry, name, info->path);
 					deploymentPackage_getName(source, &packageName);
 
 					processor->begin(processor->processor, packageName);


Mime
View raw message