[Rpm-maint] [PATCH 1/2] cosmetic: indentation in rpmdbNextIterator.

Panu Matilainen pmatilai at laiskiainen.org
Tue Nov 15 09:38:46 UTC 2011


On 11/11/2011 01:09 PM, Ales Kozumplik wrote:
> - the hunk looked confusing with the wrong indentation.
> ---
>   lib/rpmdb.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/rpmdb.c b/lib/rpmdb.c
> index 4e73cac..e249998 100644
> --- a/lib/rpmdb.c
> +++ b/lib/rpmdb.c
> @@ -1761,8 +1761,8 @@ top:
>   	     */
>   	    if (keyp&&  mi->mi_setx&&  rc == 0) {
>   		memcpy(&mi_offset, keyp, sizeof(mi_offset.ui));
> -	    if (dbiByteSwapped(dbi) == 1)
> -    		_DBSWAP(mi_offset);
> +		if (dbiByteSwapped(dbi) == 1)
> +		    _DBSWAP(mi_offset);
>   		mi->mi_offset = mi_offset.ui;
>   	    }
>

Ugh :) ACK, obviously.

	- Panu -


More information about the Rpm-maint mailing list