[Spice-devel] [PATCH spice-common] move variable decleration to head of code block

Alon Levy alevy at redhat.com
Wed Apr 18 07:29:02 PDT 2012


On Wed, Apr 18, 2012 at 08:59:20AM -0500, Aric Stewart wrote:
> Signed-off-by: Aric Stewart <aric at codeweavers.com>

ACK. Pushing.

> ---
>  common/ssl_verify.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/ssl_verify.c b/common/ssl_verify.c
> index e45d26e..2f34c00 100644
> --- a/common/ssl_verify.c
> +++ b/common/ssl_verify.c
> @@ -386,9 +386,9 @@ static int verify_subject(X509* cert, SpiceOpenSSLVerify* verify)
>      if (ret == 0) {
>          spice_debug("subjects match");
>      } else {
> +        char *p;
>          spice_debug("subjects mismatch");
> 
> -        char *p;
>          p = X509_NAME_oneline(cert_subject, NULL, 0);
>          spice_debug("cert_subject: %s", p);
>          free(p);
> -- 
> 1.6.0.rc1.64.g61192
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list