celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Broekhuis <a.broekh...@gmail.com>
Subject Re: svn commit: r1658980 - /celix/trunk/deployment_admin/private/src/deployment_admin.c
Date Wed, 11 Feb 2015 15:10:55 GMT
Whoops, that is done in one of my commits while removing APR.

Thanks for noticing and fixing.

2015-02-11 16:08 GMT+01:00 <bpetri@apache.org>:

> 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;
>
>
>


-- 
Met vriendelijke groet,

Alexander Broekhuis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message