Просмотр исходного кода

Fix bad indentation in various parts of the code

Raphaël Hertzog лет назад: 15
Родитель
Сommit
f64a8d66c0
2 измененных файлов с 6 добавлено и 6 удалено
  1. 3 3
      lib/dpkg/dbmodify.c
  2. 3 3
      src/archives.c

+ 3 - 3
lib/dpkg/dbmodify.c

@@ -281,9 +281,9 @@ modstatdb_open(enum modstatdb_rw readwritereq)
   if (cstatus != msdbrw_needsuperuserlockonly) {
     cleanupdates();
     if (cflags >= msdbrw_available_readonly)
-    parsedb(availablefile,
-            pdb_recordavailable | pdb_rejectstatus | pdb_lax_parser,
-            NULL);
+      parsedb(availablefile,
+              pdb_recordavailable | pdb_rejectstatus | pdb_lax_parser,
+              NULL);
   }
 
   if (cstatus >= msdbrw_write) {

+ 3 - 3
src/archives.c

@@ -613,9 +613,9 @@ tarobject(void *ctx, struct tar_entry *ti)
           if (stat(conff->name, &stabtmp))
             if (errno == ENOENT || errno == ENOTDIR || errno == ELOOP)
               continue;
-            if (stabtmp.st_dev == stab.st_dev &&
-                stabtmp.st_ino == stab.st_ino)
-              break;
+          if (stabtmp.st_dev == stab.st_dev &&
+              stabtmp.st_ino == stab.st_ino)
+            break;
         }
         if (conff) {
           debug(dbg_eachfiledetail, "tarobject other's obsolete conffile");