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

Ales Kozumplik akozumpl at redhat.com
Fri Nov 11 11:09:14 UTC 2011


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



More information about the Rpm-maint mailing list