From b607a9c05366535f499f3eaddd9e3d5d395149b5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 22 Feb 2012 19:24:04 +0000 Subject: style: reindent after previous commit --- URPM.xs | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'URPM.xs') diff --git a/URPM.xs b/URPM.xs index bd34967..4c69c79 100644 --- a/URPM.xs +++ b/URPM.xs @@ -3470,23 +3470,23 @@ Urpm_parse_rpm(urpm, filename, ...) else if (len == 8 && !memcmp(s, "callback", 8) && SvROK(ST(i+1))) callback = ST(i+1); else if (SvIV(ST(i+1))) { - if (len == 5) { - if (!memcmp(s, "nopgp", 5)) - vsflags |= (RPMVSF_NOSHA1 | RPMVSF_NOSHA1HEADER); - else if (!memcmp(s, "nogpg", 5)) - vsflags |= (RPMVSF_NOSHA1 | RPMVSF_NOSHA1HEADER); - else if (!memcmp(s, "nomd5", 5)) - vsflags |= (RPMVSF_NOMD5 | RPMVSF_NOMD5HEADER); - else if (!memcmp(s, "norsa", 5)) - vsflags |= (RPMVSF_NORSA | RPMVSF_NORSAHEADER); - else if (!memcmp(s, "nodsa", 5)) - vsflags |= (RPMVSF_NODSA | RPMVSF_NODSAHEADER); - } else if (len == 9) { - if (!memcmp(s, "nodigests", 9)) - vsflags |= _RPMVSF_NODIGESTS; - else if (!memcmp(s, "nopayload", 9)) - vsflags |= _RPMVSF_NOPAYLOAD; - } + if (len == 5) { + if (!memcmp(s, "nopgp", 5)) + vsflags |= (RPMVSF_NOSHA1 | RPMVSF_NOSHA1HEADER); + else if (!memcmp(s, "nogpg", 5)) + vsflags |= (RPMVSF_NOSHA1 | RPMVSF_NOSHA1HEADER); + else if (!memcmp(s, "nomd5", 5)) + vsflags |= (RPMVSF_NOMD5 | RPMVSF_NOMD5HEADER); + else if (!memcmp(s, "norsa", 5)) + vsflags |= (RPMVSF_NORSA | RPMVSF_NORSAHEADER); + else if (!memcmp(s, "nodsa", 5)) + vsflags |= (RPMVSF_NODSA | RPMVSF_NODSAHEADER); + } else if (len == 9) { + if (!memcmp(s, "nodigests", 9)) + vsflags |= _RPMVSF_NODIGESTS; + else if (!memcmp(s, "nopayload", 9)) + vsflags |= _RPMVSF_NOPAYLOAD; + } } } } @@ -3532,10 +3532,10 @@ Urpm_verify_rpm(filename, ...) STRLEN len; char *s = SvPV(ST(i), len); if (SvIV(ST(i+1))) { - if (len == 9 && !strncmp(s, "nodigests", 9)) - qva.qva_flags &= ~VERIFY_DIGEST; - else if (len == 12 && !strncmp(s, "nosignatures", 12)) - qva.qva_flags &= ~VERIFY_SIGNATURE; + if (len == 9 && !strncmp(s, "nodigests", 9)) + qva.qva_flags &= ~VERIFY_DIGEST; + else if (len == 12 && !strncmp(s, "nosignatures", 12)) + qva.qva_flags &= ~VERIFY_SIGNATURE; } } fd = Fopen(filename, "r"); -- cgit v1.2.1